Get
Get()
public static TCollection Get() ;
Description
Fetch an instance from the pool.
Returns
The retrieved instance.
Get(out TCollection)
Description
Fetch an instance from the pool and return aPooledObject<T>.
Parameters
Parameter Name | Description |
---|---|
value | The retrieved instance. |
Returns
Remarks
By usingPooledObject<T>in the using statement, it will be returned to the pool when it goes out of scope.