FastTrackingCollection<T> Class
Namespace: Stride.Core.CollectionsAssembly: Stride.Core.dll
Represents a collection that generates events when items get added or removed.
Derived from FastTrackingCollection<T>: SceneCameraSlotCollection
[DataSerializer(typeof(ListAllSerializer<, >), Mode = DataSerializerGenericMode.TypeAndGenericArguments)]
public class FastTrackingCollection<T> : FastCollection<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T | The type of elements in the collection. |
Name | Description | |
---|---|---|
Methods | ||
ClearItems() | ||
ClearItemsEvents() | ||
InsertItem(Int32, T) | ||
RemoveItem(Int32) | ||
SetItem(Int32, T) | ||
Events | ||
CollectionChanged |
Methods
ClearItems()
protected override void ClearItems()
Overrides
Stride.Core.Collections.FastCollection<T>.ClearItems()
ClearItemsEvents()
protected void ClearItemsEvents()
InsertItem(Int32, T)
protected override void InsertItem(int index, T item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
T | item |
Overrides
Stride.Core.Collections.FastCollection<T>.InsertItem(System.Int32, T)
RemoveItem(Int32)
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
Stride.Core.Collections.FastCollection<T>.RemoveItem(System.Int32)
SetItem(Int32, T)
protected override void SetItem(int index, T item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
T | item |
Overrides
Stride.Core.Collections.FastCollection<T>.SetItem(System.Int32, T)
|
Improve this Doc
View Source
Events
CollectionChanged
public event FastTrackingCollection<T>.FastEventHandler<FastTrackingCollectionChangedEventArgs> CollectionChanged
Event Type
Type | Description |
---|---|
FastTrackingCollection.FastEventHandler<FastTrackingCollectionChangedEventArgs> |