Show / Hide Table of Contents

Class CompositionOrderedSet<T>

Denotes the base class for a composition realized as ordered set

Inheritance
object
DecoratedSet<T>
OrderedSet<T>
CompositionOrderedSet<T>
Implements
IList
ICollection
IOrderedSet<T>
IList<T>
ISet<T>
ICollection<T>
IEnumerable<T>
IEnumerable
Inherited Members
OrderedSet<T>.Remove(T)
OrderedSet<T>.GetEnumerator()
OrderedSet<T>.IndexOf(T)
OrderedSet<T>.RemoveAt(int)
OrderedSet<T>.this[int]
OrderedSet<T>.Replace(int, T, T)
OrderedSet<T>.AsReadOnly()
DecoratedSet<T>.Items
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>.Contains(T)
DecoratedSet<T>.CopyTo(T[], int)
DecoratedSet<T>.Count
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 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)

Create new instance

Declaration
public CompositionOrderedSet(ModelElement parent)
Parameters
Type Name Description
ModelElement parent

The parent model element

Exceptions
Type Condition
ArgumentNullException

Thrown if parent is null

Properties

| Edit this page View Source

Parent

Gets the parent model element

Declaration
public ModelElement Parent { get; }
Property Value
Type Description
ModelElement

Methods

| Edit this page View Source

Add(T)

Declaration
public override bool Add(T item)
Parameters
Type Name Description
T item
Returns
Type Description
bool
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
OrderedSet<T>.Insert(int, T)
| 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
Type Description
bool
Overrides
OrderedSet<T>.Remove(T, int)

Implements

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