Class WatchedList<T>
Inherited Members
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.Insert(System.Int32, System.Object)
Namespace: Unity.VisualScripting
Syntax
public class WatchedList<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
ClearItems()
Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<T>.ClearItems()
InsertItem(Int32, T)
Declaration
protected override void InsertItem(int index, T item)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | |
| T | item |
Overrides
System.Collections.ObjectModel.Collection<T>.InsertItem(System.Int32, T)
RemoveItem(Int32)
Declaration
protected override void RemoveItem(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index |
Overrides
System.Collections.ObjectModel.Collection<T>.RemoveItem(System.Int32)
Events
CollectionChanged
Declaration
public event Action CollectionChanged
Event Type
| Type | Description |
|---|---|
| Action |
Implements
ItemAdded
Declaration
public event Action<T> ItemAdded
Event Type
| Type | Description |
|---|---|
| Action<T> |
Implements
ItemRemoved
Declaration
public event Action<T> ItemRemoved
Event Type
| Type | Description |
|---|---|
| Action<T> |