Class IArrayImpl<T>
General implementation of IArray<T> providing enumerators and first and last properties.
Inheritance
System.Object
IArrayImpl<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability
Assembly: CADability.dll
Syntax
public abstract class IArrayImpl<T> : IArray<T>, IEnumerable<T>, IEnumerable
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
| Improve this Doc View SourceFirst
Declaration
public T First { get; set; }
Property Value
| Type | Description |
|---|---|
| T |
Item[Int32]
Declaration
public abstract T this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type | Description |
|---|---|
| T |
Last
Declaration
public T Last { get; set; }
Property Value
| Type | Description |
|---|---|
| T |
Length
Declaration
public abstract int Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceGetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerator<T> |
ToArray()
Declaration
public T[] ToArray()
Returns
| Type | Description |
|---|---|
| T[] |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable