Pool that lends values of type T with an optional initializer that takes a value of type U.
More...
|
T | Borrow (U u) |
| Borrows a value from the pool and initializes it with the specified value. More...
|
|
Disposable< T > | BorrowDisposable (U u) |
| Borrows a wrapped value from from the pool and initializes it with the specified value. More...
|
|
| PoolWithInitializer (DelegateFunc< T > create, DelegateAction< T > reset, DelegateAction< T, U > initialize) |
| Creates a new pool with the specified creation, reset, and initialization delegates. More...
|
|
T | Borrow () |
| Borrows a value from the pool. More...
|
|
Disposable< T > | BorrowDisposable () |
| Borrows a wrapped value from the pool. More...
|
|
| Pool (DelegateFunc< T > create, DelegateAction< T > reset) |
| Creates a new pool with the specified value creation and reset delegates. More...
|
|
void | Release (T value) |
| Relinquishes ownership of the specified value and returns it to the pool. More...
|
|
Pool that lends values of type T with an optional initializer that takes a value of type U.
Smooth.Pools.PoolWithInitializer< T, U >.PoolWithInitializer |
( |
DelegateFunc< T > |
create, |
|
|
DelegateAction< T > |
reset, |
|
|
DelegateAction< T, U > |
initialize |
|
) |
| |
|
inline |
Creates a new pool with the specified creation, reset, and initialization delegates.
T Smooth.Pools.PoolWithInitializer< T, U >.Borrow |
( |
U |
u | ) |
|
|
inline |
Borrows a value from the pool and initializes it with the specified value.
Disposable<T> Smooth.Pools.PoolWithInitializer< T, U >.BorrowDisposable |
( |
U |
u | ) |
|
|
inline |
Borrows a wrapped value from from the pool and initializes it with the specified value.
The documentation for this class was generated from the following file: