Class ObservableOppositeSet<TParent, TCollected>
Inheritance
DecoratedSet<TCollected>
ObservableSet<TCollected>
ObservableOppositeSet<TParent, TCollected>
Implements
ISetExpression<TCollected>
ISet<TCollected>
ICollectionExpression<TCollected>
IEnumerableExpression<TCollected>
ICollection<TCollected>
IEnumerable<TCollected>
Inherited Members
Namespace: NMF.Collections.ObjectModel
Assembly: NMF.Collections.dll
Syntax
public abstract class ObservableOppositeSet<TParent, TCollected> : ObservableSet<TCollected>, IList, ICollection, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, ISetExpression<TCollected>, ISet<TCollected>, ICollectionExpression<TCollected>, IEnumerableExpression<TCollected>, IEnumerableExpression, ICollection<TCollected>, IEnumerable<TCollected>, IEnumerable
Type Parameters
Name | Description |
---|---|
TParent | |
TCollected |
Constructors
| Edit this page View SourceObservableOppositeSet(TParent)
Declaration
protected ObservableOppositeSet(TParent parent)
Parameters
Type | Name | Description |
---|---|---|
TParent | parent |
Properties
| Edit this page View SourceParent
Declaration
public TParent Parent { get; }
Property Value
Type | Description |
---|---|
TParent |
Methods
| Edit this page View SourceAdd(TCollected)
Declaration
public override bool Add(TCollected item)
Parameters
Type | Name | Description |
---|---|---|
TCollected | item |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceClear()
Declaration
public override void Clear()
Overrides
| Edit this page View SourceRemove(TCollected)
Declaration
public override bool Remove(TCollected item)
Parameters
Type | Name | Description |
---|---|---|
TCollected | item |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceSetOpposite(TCollected, TParent)
Declaration
protected abstract void SetOpposite(TCollected item, TParent newParent)
Parameters
Type | Name | Description |
---|---|---|
TCollected | item | |
TParent | newParent |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |