|
DynamicObjectPoolT Constructor
|
Creates a new Resource Queue.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public DynamicObjectPool(
Func<T> instance,
int targetCount
)
Public Sub New (
instance As Func(Of T),
targetCount As Integer
)
public:
DynamicObjectPool(
Func<T>^ instance,
int targetCount
)
new :
instance : Func<'T> *
targetCount : int -> DynamicObjectPool
GSF.Collections.DynamicObjectPool = function(instance, targetCount);
View SourceParameters
- instance FuncT
- A delegate that will return the necessary queue.
- targetCount Int32
- the ideal number of objects that are always pending on the queue.
See Also