FastTrackingCollectionChangedEventArgs Struct
Namespace: Stride.Core.CollectionsAssembly: Stride.Core.dll
public struct FastTrackingCollectionChangedEventArgs
              | Name | Description | |
|---|---|---|
| Constructors | ||
| FastTrackingCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Int32, Boolean) | ||
| FastTrackingCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Object, Boolean) | ||
| Properties | ||
| Action | Gets the type of action performed. Allowed values are System.Collections.Specialized.NotifyCollectionChangedAction.Add and System.Collections.Specialized.NotifyCollectionChangedAction.Remove.  | 
                          |
| CollectionChanged | Gets a value indicating whether [collection changed (not a replacement but real insertion/removal)].  | 
                          |
| Index | Gets the index in the collection (if applicable).  | 
                          |
| Item | Gets the added or removed item (if dictionary, value only).  | 
                          |
| Key | Gets the added or removed key (if dictionary).  | 
                          |
| OldItem | Gets the previous value. Only valid if Action is System.Collections.Specialized.NotifyCollectionChangedAction.Add and   | 
                          |
Constructors
FastTrackingCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Int32, Boolean)
public FastTrackingCollectionChangedEventArgs(NotifyCollectionChangedAction action, object item, object oldItem, int index = -1, bool collectionChanged = false)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Specialized.NotifyCollectionChangedAction | action | |
| System.Object | item | |
| System.Object | oldItem | |
| System.Int32 | index | |
| System.Boolean | collectionChanged | 
FastTrackingCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Object, Boolean)
public FastTrackingCollectionChangedEventArgs(NotifyCollectionChangedAction action, object key, object item, object oldItem, bool collectionChanged = false)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Specialized.NotifyCollectionChangedAction | action | |
| System.Object | key | |
| System.Object | item | |
| System.Object | oldItem | |
| System.Boolean | collectionChanged | 
Properties
Action
Gets the type of action performed. Allowed values are System.Collections.Specialized.NotifyCollectionChangedAction.Add and System.Collections.Specialized.NotifyCollectionChangedAction.Remove.
public NotifyCollectionChangedAction Action { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Collections.Specialized.NotifyCollectionChangedAction | 
CollectionChanged
Gets a value indicating whether [collection changed (not a replacement but real insertion/removal)].
public bool CollectionChanged { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
  | 
                  
Index
Gets the index in the collection (if applicable).
public int Index { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Item
Gets the added or removed item (if dictionary, value only).
public object Item { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Object | 
Key
Gets the added or removed key (if dictionary).
public object Key { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Object | 
OldItem
Gets the previous value. Only valid if Action is System.Collections.Specialized.NotifyCollectionChangedAction.Add and 
public object OldItem { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Object |