Class ObservableSet<T>
Inheritance
ObservableSet<T>
Assembly: NMF.Collections.dll
Syntax
public class ObservableSet<T> : DecoratedSet<T>, IList, ICollection, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, ISetExpression<T>, ISet<T>, ICollectionExpression<T>, IEnumerableExpression<T>, IEnumerableExpression, ICollection<T>, IEnumerable<T>, 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.DecoratedSet<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.DecoratedSet<T>.Clear()
|
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)
Declaration
public override bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Overrides
NMF.Collections.Generic.DecoratedSet<T>.Remove(T)
|
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
SilentRemove(T)
Declaration
protected bool SilentRemove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
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