PromptPlus

PromptPlus

PromptPlus

PromptPlusLibrary

ResultPrompt<T> Struct

Represents The Result T to Controls

public readonly struct ResultPrompt<T>

Type parameters

T

Type of return

Constructors

ResultPrompt(T, bool) Constructor

Represents The Result T to Controls

public ResultPrompt(T value, bool aborted);

Parameters

value T

The content value.

aborted System.Boolean

If aborted.

Properties

ResultPrompt<T>.Content Property

T Content result

public T Content { get; }

Property Value

T

ResultPrompt<T>.IsAborted Property

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

public bool IsAborted { get; }

Property Value

System.Boolean

Methods

ResultPrompt<T>.Deconstruct(T, bool) Method

Deconstructs the ResultPrompt<T> into its components.

public void Deconstruct(out T ContentValue, out bool Aborted);

Parameters

ContentValue T

The value.

Aborted System.Boolean

If aborted.