Class CompositionOrderedSet<T>
Denotes the base class for a composition realized as ordered set
Inheritance
CompositionOrderedSet<T>
Assembly: NMF.Models.dll
Syntax
public class CompositionOrderedSet<T> : OrderedSet<T>, IList, ICollection, IOrderedSet<T>, IList<T>, ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : class, IModelElement
Type Parameters
Name |
Description |
T |
The type of elements
|
Constructors
|
Edit this page
View Source
CompositionOrderedSet(ModelElement)
Declaration
public CompositionOrderedSet(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
Add(T)
Declaration
public override bool Add(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Overrides
NMF.Collections.Generic.OrderedSet<T>.Add(T)
|
Edit this page
View Source
Clear()
Declaration
public override void Clear()
Overrides
NMF.Collections.Generic.OrderedSet<T>.Clear()
|
Edit this page
View Source
Insert(int, T)
Declaration
public override void Insert(int index, T item)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
item |
|
Overrides
|
Edit this page
View Source
Remove(T, int)
Declaration
protected override bool Remove(T item, int index)
Parameters
Type |
Name |
Description |
T |
item |
|
int |
index |
|
Returns
Overrides
Implements