Class CompositionSet<T>
Denotes the base class for a composition implemented as a set
Inherited Members
Namespace: NMF.Models.Collections
Assembly: NMF.Models.dll
Syntax
public class CompositionSet<T> : OppositeSet<IModelElement, T>, ISet<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable where T : class, IModelElement
Type Parameters
Name | Description |
---|---|
T | The element type |
Constructors
| Edit this page View SourceCompositionSet(IModelElement)
Creates a new instance
Declaration
public CompositionSet(IModelElement parent)
Parameters
Type | Name | Description |
---|---|---|
IModelElement | parent | The parent model element |
Methods
| Edit this page View SourceSetOpposite(T, IModelElement)
Declaration
protected override void SetOpposite(T item, IModelElement newParent)
Parameters
Type | Name | Description |
---|---|---|
T | item | |
IModelElement | newParent |