Show / Hide Table of Contents

Interface IArrayFactory

Factory for creating arrays. These "arrays" are not your typical CLR T[]. They act the same for the most part, but they can be much larger and do not necessarily have to be stored contiguously, nor even fully in main memory.

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface IArrayFactory

Methods

CreateMemoryBackedArray<T>(Int64)

Creates an fully backed by main memory, with an initial capacity set to a given number of elements.

Declaration
ArrayBase<T> CreateMemoryBackedArray<T>(long size)
Parameters
System.Int64 size

The number of elements that the array needs to fit.

Returns
ArrayBase<T>

An fully backed by main memory, with its size set to size elements.

Type Parameters
T

The type of element stored in the array.

Back to top Built by Itinero, MIT licensed.