Search Results for

    Show / Hide Table of Contents

    Class Pool<T>

    Inheritance
    Object
    Pool<T>
    Namespace: Mirror
    Assembly: doc.dll
    Syntax
    public class Pool<T> : object
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    Pool(Func<T>, Int32)

    Declaration
    public Pool(Func<T> objectGenerator, int initialCapacity)
    Parameters
    Type Name Description
    Func<T> objectGenerator
    Int32 initialCapacity

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    Methods

    | Improve this Doc View Source

    Get()

    Declaration
    public T Get()
    Returns
    Type Description
    T
    | Improve this Doc View Source

    Return(T)

    Declaration
    public void Return(T item)
    Parameters
    Type Name Description
    T item
    | Improve this Doc View Source

    Take()

    Declaration
    public T Take()
    Returns
    Type Description
    T
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX