Class IndexedItem<T>
Class representing an item with an index.
Inheritance
System.Object
IndexedItem<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:Extend
Assembly:Extend.dll
Syntax
public class IndexedItem<T> : IIndexedItem<T>
Type Parameters
Name | Description |
---|---|
T | The type of the item. |
Constructors
| Improve this Doc View SourceIndexedItem(Int32, T)
Initializes a new instance of the IndexedItem<T> class.
Declaration
public IndexedItem(int index, T item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
T | item | The item. |
Properties
| Improve this Doc View SourceIndex
Gets the index of the item.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the item. |
Implements
| Improve this Doc View SourceItem
Gets the item.
Declaration
public T Item { get; }
Property Value
Type | Description |
---|---|
T | The item. |