Class CollectionChangeCallback.CollectionItem
Represents an item in a collection change callback.
Namespace: Evergine.Common.Attributes
Assembly: Evergine.Common.dll
Syntax
public class CollectionChangeCallback.CollectionItem
Constructors
CollectionItem(object, int)
Initializes a new instance of the CollectionChangeCallback.CollectionItem class.
Declaration
public CollectionItem(object item, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| object | item | Item instance. |
| int | index | Item index. |
Properties
Index
Gets the index value associated with the current object.
Declaration
public int Index { get; }
Property Value
| Type | Description |
|---|---|
| int |
Item
Gets the value associated with the current instance.
Declaration
public object Item { get; }
Property Value
| Type | Description |
|---|---|
| object |