Class FutureBase<T>
Future base properties/methods.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class FutureBase<T>
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 |
---|---|
System.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 |