Get

Get()

public T Get() ;

Description

Fetch an instance from the pool.

Returns

The retrieved instance.

Get(out T)

public PooledObject<T> Get(out T v) ;

Description

Fetch an instance from the pool and return a PooledObject<T>.

Parameters

Parameter Name Description
v The retrieved instance.

Returns

PooledObject<T>

Remarks

By using PooledObject<T> in the using statement, it will be returned to the pool when it goes out of scope.