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