Skip to the content.

PromptPlus API:ResultPrompt

Build Publish License NuGet Downloads

Back to List Api

ResultPrompt<T>

Namespace: PPlus.Controls

Represents The Result to Controls

public struct ResultPrompt<T>

Type Parameters

T
Typeof return

Inheritance ObjectValueTypeResultPrompt<T>

Properties

IsAborted

Control is Aborted. True to aborted; otherwise, false.

public bool IsAborted { get; }

Property Value

Boolean

Value

Value result

public T Value { get; }

Property Value

T

Constructors

ResultPrompt()

Create a ResultPrompt

ResultPrompt()

Remarks:

Do not use this constructor!

ResultPrompt(T, Boolean)

Create a ResultPrompt. Purpose only for unit testing

ResultPrompt(T value, bool aborted)

Parameters

value T
The value

aborted Boolean
If aborted


Back to List Api