Search Results for

    Show / Hide Table of Contents

    Class StringBuilderPool

    Provides a pool of StringBuilder objects to manage resource usage efficiently.

    Inheritance
    object
    StringBuilderPool
    Inherited Members
    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 static class StringBuilderPool

    Methods

    | Edit this page View Source

    Get()

    Gets a StringBuilder from the pool.

    Declaration
    public static StringBuilder Get()
    Returns
    Type Description
    StringBuilder

    A StringBuilder instance.

    | Edit this page View Source

    Get(out StringBuilder)

    Gets a pooled StringBuilder and outputs it.

    Declaration
    public static PooledObject<StringBuilder> Get(out StringBuilder value)
    Parameters
    Type Name Description
    StringBuilder value

    The StringBuilder instance.

    Returns
    Type Description
    PooledObject<StringBuilder>

    A pooled StringBuilder instance.

    | Edit this page View Source

    Release(StringBuilder)

    Releases a StringBuilder back to the pool.

    Declaration
    public static void Release(StringBuilder toRelease)
    Parameters
    Type Name Description
    StringBuilder toRelease

    The StringBuilder to release.

    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation