Class Deactivated<T>
Combines activated and deactivated values.
Inheritance
↳ object
↳ Deactivated<T>
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Utils
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic sealed class Deactivated<T>
Constructors
Deactivated(T, T, Func<bool>)
Constructor.
Declarationpublic Deactivated(T activatedValue, T deactivatedValue, Func<bool> getDeactivated)
| Type | Name | Description |
|---|---|---|
| {T} | activatedValue | Value for the activated state. |
| {T} | deactivatedValue | Value for the deactivated state. |
| Func<bool> | getDeactivated | Function, returns true if the state is deactivated. |
Properties
Value
Current value.
Declarationpublic T Value { get; }
| Type | Description |
|---|---|
| {T} |