Skip to main content

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

Syntax
public sealed class Deactivated<T>

Constructors

Deactivated(T, T, Func<bool>)

Constructor.

Declaration
public Deactivated(T activatedValue, T deactivatedValue, Func<bool> getDeactivated)
Parameters
TypeNameDescription
{T}activatedValueValue for the activated state.
{T}deactivatedValueValue for the deactivated state.
Func<bool>getDeactivatedFunction, returns true if the state is deactivated.

Properties

Value

Current value.

Declaration
public T Value { get; }
Property value
TypeDescription
{T}

Extension Methods