Class FutureBase<T>
Future base properties/methods.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class FutureBase<T> : object where T : class
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
Exception
Gets or sets the exception if rejected.
Declaration
public Exception Exception { get; protected set; }
Property Value
| Type | Description |
|---|---|
| Exception |
Result
Gets or sets the result if resolved.
Declaration
public T Result { get; protected set; }
Property Value
| Type | Description |
|---|---|
| T |
State
Gets or sets the current state.
Declaration
public FutureState State { get; protected set; }
Property Value
| Type | Description |
|---|---|
| FutureState |