Class CompositionList<T>
Denotes the base class for a composition list
Inheritance
CompositionList<T>
Assembly: NMF.Models.dll
Syntax
public class CompositionList<T> : Collection<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable where T : class, IModelElement
Type Parameters
Name |
Description |
T |
The type of elements
|
Constructors
|
Edit this page
View Source
CompositionList(ModelElement)
Declaration
public CompositionList(ModelElement parent)
Parameters
Type |
Name |
Description |
ModelElement |
parent |
The parent model element
|
Exceptions
Properties
|
Edit this page
View Source
Parent
Gets the parent model element
Declaration
public ModelElement Parent { get; }
Property Value
Methods
|
Edit this page
View Source
ClearItems()
Declaration
protected override void ClearItems()
Overrides
|
Edit this page
View Source
InsertItem(int, T)
Declaration
protected override void InsertItem(int index, T item)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
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, T)
Declaration
protected override void SetItem(int index, T item)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
item |
|
Overrides
Implements