ResourceQueueT Constructor

Creates a new Resource Queue with the specified initial resources and maximum capacity.

Definition

Namespace: SnapDB.Collections
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public ResourceQueue(
	Func<T> instance,
	int initialCount,
	int maximumCount
)

Parameters

instance  FuncT
A delegate that will return the necessary queue.
initialCount  Int32
The initial number of resources to have in the queue.
maximumCount  Int32
The maximum number of resources the queue can hold.

See Also