Class OppositeList<TParent, TCollected>
Inheritance
OppositeList<TParent, TCollected>
Assembly: NMF.Collections.dll
Syntax
public abstract class OppositeList<TParent, TCollected> : Collection<TCollected>, IList<TCollected>, ICollection<TCollected>, IReadOnlyList<TCollected>, IReadOnlyCollection<TCollected>, IEnumerable<TCollected>, IList, ICollection, IEnumerable
Type Parameters
Name |
Description |
TParent |
|
TCollected |
|
Constructors
|
Edit this page
View Source
OppositeList(TParent)
Declaration
protected OppositeList(TParent parent)
Parameters
Type |
Name |
Description |
TParent |
parent |
|
Properties
|
Edit this page
View Source
Parent
Declaration
public TParent Parent { get; }
Property Value
Methods
|
Edit this page
View Source
ClearItems()
Declaration
protected override void ClearItems()
Overrides
|
Edit this page
View Source
InsertItem(int, TCollected)
Declaration
protected override void InsertItem(int index, TCollected item)
Parameters
Type |
Name |
Description |
int |
index |
|
TCollected |
item |
|
Overrides
|
Edit this page
View Source
RemoveItem(int)
Declaration
protected override void RemoveItem(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Overrides
|
Edit this page
View Source
SetItem(int, TCollected)
Declaration
protected override void SetItem(int index, TCollected item)
Parameters
Type |
Name |
Description |
int |
index |
|
TCollected |
item |
|
Overrides
|
Edit this page
View Source
SetOpposite(TCollected, TParent)
Declaration
protected abstract void SetOpposite(TCollected item, TParent newParent)
Parameters
Type |
Name |
Description |
TCollected |
item |
|
TParent |
newParent |
|
Implements