Search Results for

    Show / Hide Table of Contents

    Class ActiveState

    Inheritance
    object
    State<bool>
    ActiveState
    Inherited Members
    State<bool>.Value
    State<bool>.Reason
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public class ActiveState : State<bool>

    Constructors

    | Edit this page View Source

    ActiveState(bool, string)

    Declaration
    public ActiveState(bool isActive, string reason = null)
    Parameters
    Type Name Description
    bool isActive
    string reason

    Properties

    | Edit this page View Source

    IsActive

    Declaration
    public bool IsActive { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Active(string)

    Declaration
    public static ActiveState Active(string reason = null)
    Parameters
    Type Name Description
    string reason
    Returns
    Type Description
    ActiveState
    | Edit this page View Source

    Inactive(string)

    Declaration
    public static ActiveState Inactive(string reason = null)
    Parameters
    Type Name Description
    string reason
    Returns
    Type Description
    ActiveState

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation