Search Results for

    Show / Hide Table of Contents

    Interface IPool<T>

    Interface provides that basic features of pool.

    Inherited Members
    IPool.Capacity
    IPool.Count
    IPool.ReleaseInstances(Int32)
    Namespace: MackySoft.XPool
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IPool<T> : IPool
    Type Parameters
    Name Description
    T

    Type of instance to pool.

    Methods

    Rent()

    Return the pooled instance. If pool is empty, create new instance and returns it.

    Declaration
    T Rent()
    Returns
    Type Description
    T

    Return(T)

    Return instance to the pool.

    Declaration
    void Return(T instance)
    Parameters
    Type Name Description
    T instance
    In This Article
    Back to top XPool - Object Pooling System