Class ObservableOrderedSet<T>
Inheritance
ObservableOrderedSet<T>
Assembly: NMF.Collections.dll
Syntax
public class ObservableOrderedSet<T> : OrderedSet<T>, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, IOrderedSetExpression<T>, IListExpression<T>, ISetExpression<T>, ICollectionExpression<T>, IEnumerableExpression<T>, IOrderedSet<T>, IList<T>, ISet<T>, ICollection<T>, IEnumerable<T>, ICollectionExpression, IEnumerableExpression, IList, ICollection, IEnumerable
Type Parameters
Methods
|
Edit this page
View Source
Add(T)
Declaration
public override bool Add(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Overrides
NMF.Collections.Generic.OrderedSet<T>.Add(T)
|
Edit this page
View Source
AsNotifiable()
Gets notifications for this collection
Declaration
public INotifyCollection<T> AsNotifiable()
Returns
Type |
Description |
INotifyCollection<T> |
A collection that will notify clients as new elements change
|
|
Edit this page
View Source
Clear()
Declaration
public override void Clear()
Overrides
NMF.Collections.Generic.OrderedSet<T>.Clear()
|
Edit this page
View Source
Insert(int, T)
Declaration
public override void Insert(int index, T item)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
item |
|
Overrides
|
Edit this page
View Source
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
|
Edit this page
View Source
OnCollectionChanging(NotifyCollectionChangedEventArgs)
Declaration
protected void OnCollectionChanging(NotifyCollectionChangedEventArgs e)
Parameters
|
Edit this page
View Source
OnPropertyChanged(string)
Declaration
protected void OnPropertyChanged(string property)
Parameters
Type |
Name |
Description |
string |
property |
|
|
Edit this page
View Source
Remove(T, int)
Declaration
protected override bool Remove(T item, int index)
Parameters
Type |
Name |
Description |
T |
item |
|
int |
index |
|
Returns
Overrides
|
Edit this page
View Source
Replace(int, T, T)
Declaration
protected override void Replace(int index, T oldValue, T newValue)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
oldValue |
|
T |
newValue |
|
Overrides
|
Edit this page
View Source
RequireEvents()
Declaration
protected bool RequireEvents()
Returns
|
Edit this page
View Source
SilentAdd(T)
Declaration
protected bool SilentAdd(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Edit this page
View Source
SilentClear()
Declaration
protected void SilentClear()
|
Edit this page
View Source
SilentInsert(int, T)
Declaration
protected void SilentInsert(int index, T item)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
item |
|
|
Edit this page
View Source
SilentRemove(T, int)
Declaration
protected bool SilentRemove(T item, int index)
Parameters
Type |
Name |
Description |
T |
item |
|
int |
index |
|
Returns
|
Edit this page
View Source
SilentReplace(int, T, T)
Declaration
protected void SilentReplace(int index, T oldValue, T newValue)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
oldValue |
|
T |
newValue |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Events
|
Edit this page
View Source
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
|
Edit this page
View Source
CollectionChanging
Declaration
public event EventHandler<NotifyCollectionChangedEventArgs> CollectionChanging
Event Type
|
Edit this page
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Implements