Click or drag to resize

JCOBridgeObjectPoolTRent Method

Retrieves an instance from the pool, or creates a new one if no pooled instance is available.

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public T Rent(
	ref bool fromPool
)

Parameters

fromPool  Boolean
Set to if the returned instance came from the pool; if it was freshly created by the factory. Use this flag to determine whether the instance needs to be reset before use. Under a standard license this parameter is always .

Return Value

T
An instance of T.
See Also