Class IArrayImpl<T>
- Namespace
- CADability
- Assembly
- CADability.dll
General implementation of IArray<T> providing enumerators and first and last properties.
public abstract class IArrayImpl<T> : IArray<T>, IEnumerable<T>, IEnumerable
Type Parameters
T
- Inheritance
-
IArrayImpl<T>
- Implements
-
IArray<T>IEnumerable<T>
- Derived
- Inherited Members
- Extension Methods
Constructors
IArrayImpl()
protected IArrayImpl()
Properties
First
public T First { get; set; }
Property Value
- T
this[int]
public abstract T this[int index] { get; set; }
Parameters
indexint
Property Value
- T
Last
public T Last { get; set; }
Property Value
- T
Length
public abstract int Length { get; }
Property Value
Methods
GetEnumerator()
public IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>
ToArray()
public T[] ToArray()
Returns
- T[]