Table of Contents

Struct Global.RunCatchingResult<T>

Namespace
CarinaStudio
Assembly
CarinaStudio.AppBase.Core.dll
public ref struct Global.RunCatchingResult<T>

Type Parameters

T

Type of generated value.

Inherited Members

Properties

Exception

Get Exception occurred while generating value.

public readonly Exception? Exception { get; }

Property Value

Exception

IsSuccessful

Check whether value generating is successful or not.

public readonly bool IsSuccessful { get; }

Property Value

bool

Result

Get generated value, or default value if failed to generate.

public readonly T Result { get; }

Property Value

T