Show / Hide Table of Contents

Class CompositionSet<T>

Denotes the base class for a composition implemented as a set

Inheritance
object
DecoratedSet<T>
OppositeSet<IModelElement, T>
CompositionSet<T>
Implements
ISet<T>
ICollection<T>
IEnumerable<T>
IList
ICollection
IEnumerable
Inherited Members
OppositeSet<IModelElement, T>.Parent
OppositeSet<IModelElement, T>.SetOpposite(T, IModelElement)
OppositeSet<IModelElement, T>.Clear()
OppositeSet<IModelElement, T>.Add(T)
OppositeSet<IModelElement, T>.Remove(T)
DecoratedSet<T>.Items
DecoratedSet<T>.Add(T)
DecoratedSet<T>.ExceptWith(IEnumerable<T>)
DecoratedSet<T>.IntersectWith(IEnumerable<T>)
DecoratedSet<T>.IsProperSubsetOf(IEnumerable<T>)
DecoratedSet<T>.IsProperSupersetOf(IEnumerable<T>)
DecoratedSet<T>.IsSubsetOf(IEnumerable<T>)
DecoratedSet<T>.IsSupersetOf(IEnumerable<T>)
DecoratedSet<T>.Overlaps(IEnumerable<T>)
DecoratedSet<T>.SetEquals(IEnumerable<T>)
DecoratedSet<T>.SymmetricExceptWith(IEnumerable<T>)
DecoratedSet<T>.UnionWith(IEnumerable<T>)
DecoratedSet<T>.Clear()
DecoratedSet<T>.Contains(T)
DecoratedSet<T>.CopyTo(T[], int)
DecoratedSet<T>.Count
DecoratedSet<T>.Remove(T)
DecoratedSet<T>.GetEnumerator()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

CompositionSet(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 Source

SetOpposite(T, IModelElement)

Declaration
protected override void SetOpposite(T item, IModelElement newParent)
Parameters
Type Name Description
T item
IModelElement newParent
Overrides
OppositeSet<IModelElement, T>.SetOpposite(T, IModelElement)

Implements

ISet<T>
ICollection<T>
IEnumerable<T>
IList
ICollection
IEnumerable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX