Struct Global.RunCatchingResult<T>
- Namespace
- CarinaStudio
- Assembly
- CarinaStudio.AppBase.Core.dll
Result of RunCatching<T>(Func<T>).
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
IsSuccessful
Check whether value generating is successful or not.
public readonly bool IsSuccessful { get; }
Property Value
Result
Get generated value, or default value if failed to generate.
public readonly T Result { get; }
Property Value
- T