|
DynamicObjectPoolT Constructor
|
Creates a new Resource Queue.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic 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