Class ObservableOppositeList<TParent, TCollected>
Inheritance
Collection<TCollected>
ObservableCollectionExtended<TCollected>
ObservableList<TCollected>
ObservableOppositeList<TParent, TCollected>
Implements
IReadOnlyList<TCollected>
IReadOnlyCollection<TCollected>
IListExpression<TCollected>
IList<TCollected>
ICollectionExpression<TCollected>
IEnumerableExpression<TCollected>
ICollection<TCollected>
IEnumerable<TCollected>
Inherited Members
Namespace: NMF.Collections.ObjectModel
Assembly: NMF.Collections.dll
Syntax
public abstract class ObservableOppositeList<TParent, TCollected> : ObservableList<TCollected>, IReadOnlyList<TCollected>, IReadOnlyCollection<TCollected>, IList, ICollection, INotifyCollectionChanging, INotifyPropertyChanged, INotifyCollectionChanged, IListExpression<TCollected>, IList<TCollected>, ICollectionExpression<TCollected>, IEnumerableExpression<TCollected>, IEnumerableExpression, ICollection<TCollected>, IEnumerable<TCollected>, IEnumerable
Type Parameters
Name | Description |
---|---|
TParent | |
TCollected |
Constructors
| Edit this page View SourceObservableOppositeList(TParent)
Declaration
protected ObservableOppositeList(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 SourceClearItems()
Declaration
protected override void ClearItems()
Overrides
| Edit this page View SourceInsertItem(int, TCollected)
Declaration
protected override void InsertItem(int index, TCollected item)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TCollected | item |
Overrides
| Edit this page View SourceRemoveItem(int)
Declaration
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index |
Overrides
| Edit this page View SourceSetItem(int, TCollected)
Declaration
protected override void SetItem(int index, TCollected item)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TCollected | item |
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 |