Class MBBindingList<T>
- Namespace
- TaleWorlds.Library
- Assembly
- TaleWorlds.Library.dll
public class MBBindingList<T> : Collection<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IMBBindingList, IList, ICollection, IEnumerable
Type Parameters
T
- Inheritance
-
Collection<T>MBBindingList<T>
- Implements
-
IList<T>ICollection<T>IEnumerable<T>
- Inherited Members
- Extension Methods
Constructors
MBBindingList()
public MBBindingList()
Methods
ApplyActionOnAllItems(Action<T>)
public void ApplyActionOnAllItems(Action<T> action)
Parameters
action
Action<T>
ClearItems()
protected override void ClearItems()
InsertItem(int, T)
protected override void InsertItem(int index, T item)
Parameters
index
intitem
T
IsOrdered(IComparer<T>)
public bool IsOrdered(IComparer<T> comparer)
Parameters
comparer
IComparer<T>
Returns
OnListChanged(ListChangedEventArgs)
protected virtual void OnListChanged(ListChangedEventArgs e)
Parameters
RemoveItem(int)
protected override void RemoveItem(int index)
Parameters
index
int
SetItem(int, T)
protected override void SetItem(int index, T item)
Parameters
index
intitem
T
Sort()
public void Sort()
Sort(IComparer<T>)
public void Sort(IComparer<T> comparer)
Parameters
comparer
IComparer<T>
Events
ListChanged
public event ListChangedEventHandler ListChanged
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).