Search Results for

    Show / Hide Table of Contents

    Struct EventContext

    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 EventContext

    Properties

    | Edit this page View Source

    IsItemDone

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

    IsResponseDone

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

    Item

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

    ItemIndex

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

    Response

    Declaration
    public ResponseContext Response { get; }
    Property Value
    Type Description
    ResponseContext

    Methods

    | Edit this page View Source

    Copy(ResponseContext?, ItemContext?)

    Declaration
    public EventContext Copy(ResponseContext? response = null, ItemContext? item = null)
    Parameters
    Type Name Description
    ResponseContext? response
    ItemContext? item
    Returns
    Type Description
    EventContext
    | Edit this page View Source

    CopyItem(int?, string, string, bool?)

    Declaration
    public EventContext CopyItem(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
    EventContext
    | Edit this page View Source

    CopyTransport(string, string, int?, bool?)

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

    CreateFinal()

    Declaration
    public static EventContext CreateFinal()
    Returns
    Type Description
    EventContext
    | Edit this page View Source

    FinalizeStream()

    Declaration
    public EventContext FinalizeStream()
    Returns
    Type Description
    EventContext
    | Edit this page View Source

    FromResponseContext(ResponseContext)

    Declaration
    public static EventContext FromResponseContext(ResponseContext response)
    Parameters
    Type Name Description
    ResponseContext response
    Returns
    Type Description
    EventContext

    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)
    PipelineExtensions.IsFinal(EventContext)
    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