Class MyConcurrentCollectionPool<TCollection, TItem>
Inheritance
System.Object
MyConcurrentCollectionPool<TCollection, TItem>
Assembly: VRage.Library.dll
Syntax
public class MyConcurrentCollectionPool<TCollection, TItem> : Object, IConcurrentPool where TCollection : ICollection<TItem>, new()
Type Parameters
| Name |
Description |
| TCollection |
|
| TItem |
|
Constructors
MyConcurrentCollectionPool(Int32)
Declaration
public MyConcurrentCollectionPool(int defaultCapacity = 0)
Parameters
| Type |
Name |
Description |
| System.Int32 |
defaultCapacity |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
Get()
Declaration
Returns
| Type |
Description |
| TCollection |
|
Return(TCollection)
Declaration
public void Return(TCollection instance)
Parameters
| Type |
Name |
Description |
| TCollection |
instance |
|