PromptPlus API:ResultPrompt
ResultPrompt<T>
Namespace: PPlus.Controls
Represents The Result to Controls
public struct ResultPrompt<T>
Type Parameters
T
Typeof return
Inheritance Object → ValueType → ResultPrompt<T>
Properties
IsAborted
Control is Aborted. True to aborted; otherwise, false.
public bool IsAborted { get; }
Property Value
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