Search Results for

    Show / Hide Table of Contents

    Struct RentInstance<T>

    This is a token that indicates that rented an instance from the pool.

    You can return an instance to the pool by calling Dispose().

    See: RentTemporary<T>(IPool<T>, out T)

    Implements
    IDisposable
    Namespace: MackySoft.XPool
    Assembly: cs.temp.dll.dll
    Syntax
    public struct RentInstance<T>
    Type Parameters
    Name Description
    T

    Methods

    Dispose()

    Return instance to the pool.

    Declaration
    public void Dispose()

    Implements

    IDisposable
    In This Article
    Back to top XPool - Object Pooling System