Search Results for

    Show / Hide Table of Contents

    Class TextEnvelope

    Inheritance
    object
    TextEnvelope
    Implements
    IEvent
    ITextSource
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking
    Assembly: Glitch9.IO.dll
    Syntax
    public sealed class TextEnvelope : IEvent, ITextSource

    Constructors

    | Edit this page View Source

    TextEnvelope()

    Declaration
    public TextEnvelope()
    | Edit this page View Source

    TextEnvelope(string)

    Declaration
    public TextEnvelope(string text)
    Parameters
    Type Name Description
    string text

    Properties

    | Edit this page View Source

    Text

    Declaration
    [JsonProperty("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    CreateList(List<string>)

    Declaration
    public static List<TextEnvelope> CreateList(List<string> texts)
    Parameters
    Type Name Description
    List<string> texts
    Returns
    Type Description
    List<TextEnvelope>
    | Edit this page View Source

    GetTextSource()

    Declaration
    public string GetTextSource()
    Returns
    Type Description
    string
    | Edit this page View Source

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool

    Implements

    IEvent
    ITextSource

    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