Class ObservableOppositeOrderedSet<TParent, TCollected>
Inheritance
DecoratedSet<TCollected>
OrderedSet<TCollected>
ObservableOrderedSet<TCollected>
ObservableOppositeOrderedSet<TParent, TCollected>
Implements
IOrderedSetExpression<TCollected>
IListExpression<TCollected>
ISetExpression<TCollected>
ICollectionExpression<TCollected>
IEnumerableExpression<TCollected>
IOrderedSet<TCollected>
IList<TCollected>
ISet<TCollected>
ICollection<TCollected>
IEnumerable<TCollected>
Inherited Members
Namespace: NMF.Collections.ObjectModel
Assembly: NMF.Collections.dll
Syntax
public abstract class ObservableOppositeOrderedSet<TParent, TCollected> : ObservableOrderedSet<TCollected>, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, IOrderedSetExpression<TCollected>, IListExpression<TCollected>, ISetExpression<TCollected>, ICollectionExpression<TCollected>, IEnumerableExpression<TCollected>, IOrderedSet<TCollected>, IList<TCollected>, ISet<TCollected>, ICollection<TCollected>, IEnumerable<TCollected>, ICollectionExpression, IEnumerableExpression, IList, ICollection, IEnumerable
Type Parameters
Name | Description |
---|---|
TParent | |
TCollected |
Constructors
| Edit this page View SourceObservableOppositeOrderedSet(TParent)
Declaration
protected ObservableOppositeOrderedSet(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 SourceInsert(int, TCollected)
Declaration
public override void Insert(int index, TCollected item)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TCollected | item |
Overrides
| Edit this page View SourceRemove(TCollected, int)
Declaration
protected override bool Remove(TCollected item, int index)
Parameters
Type | Name | Description |
---|---|---|
TCollected | item | |
int | index |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceReplace(int, TCollected, TCollected)
Declaration
protected override void Replace(int index, TCollected oldValue, TCollected newValue)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TCollected | oldValue | |
TCollected | newValue |
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 |