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