Search Results for

    Show / Hide Table of Contents

    Struct ItemContext

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public readonly struct ItemContext

    Constructors

    | Edit this page View Source

    ItemContext(int, string, string, bool)

    Declaration
    public ItemContext(int index = -1, string id = null, string eventType = null, bool done = false)
    Parameters
    Type Name Description
    int index
    string id
    string eventType
    bool done

    Properties

    | Edit this page View Source

    Done

    Declaration
    public bool Done { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    EventType

    Declaration
    public string EventType { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Id

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Index

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Complete()

    Declaration
    public static ItemContext Complete()
    Returns
    Type Description
    ItemContext
    | Edit this page View Source

    Complete(ItemContext)

    Declaration
    public static ItemContext Complete(ItemContext header)
    Parameters
    Type Name Description
    ItemContext header
    Returns
    Type Description
    ItemContext
    | Edit this page View Source

    CompleteItem(int, string)

    Declaration
    public static ItemContext CompleteItem(int itemIndex, string itemId = null)
    Parameters
    Type Name Description
    int itemIndex
    string itemId
    Returns
    Type Description
    ItemContext
    | Edit this page View Source

    Copy(int?, string, string, bool?)

    Declaration
    public ItemContext Copy(int? index = null, string id = null, string @event = null, bool? done = null)
    Parameters
    Type Name Description
    int? index
    string id
    string event
    bool? done
    Returns
    Type Description
    ItemContext
    | Edit this page View Source

    Delta()

    Declaration
    public static ItemContext Delta()
    Returns
    Type Description
    ItemContext
    | Edit this page View Source

    Delta(ItemContext)

    Declaration
    public static ItemContext Delta(ItemContext header)
    Parameters
    Type Name Description
    ItemContext header
    Returns
    Type Description
    ItemContext
    | Edit this page View Source

    DeltaItem(int, string)

    Declaration
    public static ItemContext DeltaItem(int itemIndex, string itemId = null)
    Parameters
    Type Name Description
    int itemIndex
    string itemId
    Returns
    Type Description
    ItemContext
    | Edit this page View Source

    FromEventData<T>(T, string)

    Declaration
    public static ItemContext FromEventData<T>(T data, string eventType = null)
    Parameters
    Type Name Description
    T data
    string eventType
    Returns
    Type Description
    ItemContext
    Type Parameters
    Name Description
    T

    Extension Methods

    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.GetHashCodeOrDefault<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation