Class SharedArrayPool<T>
Provides a pool of shared arrays.
Inheritance
System.Object
SharedArrayPool<T>
Namespace: Microsoft.Psi
Assembly: Microsoft.Psi.dll
Syntax
public static class SharedArrayPool<T> : object
Type Parameters
Name | Description |
---|---|
T | The element type of the array. |
Methods
View SourceGetOrCreate(Int32)
Gets or creates a shared array of the specified size.
Declaration
public static Shared<T[]> GetOrCreate(int size)
Parameters
Type | Name | Description |
---|---|---|
System. |
size | The size of the array. |
Returns
Type | Description |
---|---|
Shared<T[]> | A shared array of the requested size. |