Show / Hide Table of Contents

Class ObservableSet<T>

Inheritance
object
DecoratedSet<T>
ObservableSet<T>
ObservableOppositeSet<TParent, TCollected>
Implements
IList
ICollection
INotifyCollectionChanged
INotifyCollectionChanging
INotifyPropertyChanged
ISetExpression<T>
ISet<T>
ICollectionExpression<T>
IEnumerableExpression<T>
IEnumerableExpression
ICollection<T>
IEnumerable<T>
IEnumerable
Inherited Members
DecoratedSet<T>.Items
DecoratedSet<T>.ExceptWith(IEnumerable<T>)
DecoratedSet<T>.IntersectWith(IEnumerable<T>)
DecoratedSet<T>.IsProperSubsetOf(IEnumerable<T>)
DecoratedSet<T>.IsProperSupersetOf(IEnumerable<T>)
DecoratedSet<T>.IsSubsetOf(IEnumerable<T>)
DecoratedSet<T>.IsSupersetOf(IEnumerable<T>)
DecoratedSet<T>.Overlaps(IEnumerable<T>)
DecoratedSet<T>.SetEquals(IEnumerable<T>)
DecoratedSet<T>.SymmetricExceptWith(IEnumerable<T>)
DecoratedSet<T>.UnionWith(IEnumerable<T>)
DecoratedSet<T>.Contains(T)
DecoratedSet<T>.CopyTo(T[], int)
DecoratedSet<T>.Count
DecoratedSet<T>.GetEnumerator()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: NMF.Collections.ObjectModel
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
Name Description
T

Methods

| Edit this page View Source

Add(T)

Declaration
public override bool Add(T item)
Parameters
Type Name Description
T item
Returns
Type Description
bool
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
Type Name Description
NotifyCollectionChangedEventArgs e
| Edit this page View Source

OnCollectionChanging(NotifyCollectionChangedEventArgs)

Declaration
protected void OnCollectionChanging(NotifyCollectionChangedEventArgs e)
Parameters
Type Name Description
NotifyCollectionChangedEventArgs e
| 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
Type Description
bool
Overrides
NMF.Collections.Generic.DecoratedSet<T>.Remove(T)
| Edit this page View Source

RequireEvents()

Declaration
protected bool RequireEvents()
Returns
Type Description
bool
| Edit this page View Source

SilentAdd(T)

Declaration
protected bool SilentAdd(T item)
Parameters
Type Name Description
T item
Returns
Type Description
bool
| 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
Type Description
bool
| Edit this page View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Events

| Edit this page View Source

CollectionChanged

Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
Type Description
NotifyCollectionChangedEventHandler
| Edit this page View Source

CollectionChanging

Declaration
public event EventHandler<NotifyCollectionChangedEventArgs> CollectionChanging
Event Type
Type Description
EventHandler<NotifyCollectionChangedEventArgs>
| Edit this page View Source

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler

Implements

IList
ICollection
INotifyCollectionChanged
INotifyCollectionChanging
INotifyPropertyChanged
ISetExpression<T>
ISet<T>
ICollectionExpression<T>
IEnumerableExpression<T>
IEnumerableExpression
ICollection<T>
IEnumerable<T>
IEnumerable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX