Search Results for

    Show / Hide Table of Contents

    Interface IPool

    Interface provides that basic features of pool.

    Namespace: MackySoft.XPool
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IPool

    Properties

    Capacity

    Capacity to store instances in the pool.

    Declaration
    int Capacity { get; }
    Property Value
    Type Description
    Int32

    Count

    Quantity of instances stored in the pool.

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

    Methods

    ReleaseInstances(Int32)

    Keeps the specified quantity and releases the pooled instances.

    Declaration
    void ReleaseInstances(int keep)
    Parameters
    Type Name Description
    Int32 keep

    Quantity that keep pooled instances.

    In This Article
    Back to top XPool - Object Pooling System