Struct ReadOnlyArraySegment<T>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public struct ReadOnlyArraySegment<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Constructors
ReadOnlyArraySegment(ReadOnlyArray<T>, Int32, Int32)
Declaration
public ReadOnlyArraySegment(ReadOnlyArray<T> array, int begin, int length)
Parameters
Properties
Count
Declaration
public readonly int Count { get; }
Property Value
Item[Int32]
Declaration
public readonly T this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Methods
GetEnumerator()
Returns enumerator over elements of array.
Declaration
public ReadOnlyArraySegmentEnumerator<T> GetEnumerator()
Returns
Explicit Interface Implementations
IEnumerable<T>.GetEnumerator()
Declaration
IEnumerator<T> IEnumerable<T>.GetEnumerator()
Returns
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements
Extension Methods