Show / Hide Table of Contents

Class EEnumLiteral.EEnumLiteralReferencedElementsCollection

The collection class to to represent the children of the EEnumLiteral class

Inheritance
object
ReferenceCollection
EEnumLiteral.EEnumLiteralReferencedElementsCollection
Implements
INotifyCollectionChanged
IDisposable
ICollectionExpression<IModelElement>
IEnumerableExpression<IModelElement>
IEnumerableExpression
ICollection<IModelElement>
IEnumerable<IModelElement>
IEnumerable
Inherited Members
ReferenceCollection.CollectionChanged
ReferenceCollection.IsReadOnly
ReferenceCollection.AsNotifiable()
ReferenceCollection.PropagateCollectionChanges(object, NotifyCollectionChangedEventArgs)
ReferenceCollection.PropagateValueChanges(object, ValueChangedEventArgs)
ReferenceCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs)
ReferenceCollection.Dispose()
ReferenceCollection.Dispose(bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Interop.Ecore
Assembly: NMF.EcoreInterop.dll
Syntax
public class EEnumLiteral.EEnumLiteralReferencedElementsCollection : ReferenceCollection, INotifyCollectionChanged, IDisposable, ICollectionExpression<IModelElement>, IEnumerableExpression<IModelElement>, IEnumerableExpression, ICollection<IModelElement>, IEnumerable<IModelElement>, IEnumerable

Constructors

| Edit this page View Source

EEnumLiteralReferencedElementsCollection(EEnumLiteral)

Creates a new instance

Declaration
public EEnumLiteralReferencedElementsCollection(EEnumLiteral parent)
Parameters
Type Name Description
EEnumLiteral parent

Properties

| Edit this page View Source

Count

Gets the amount of elements contained in this collection

Declaration
public override int Count { get; }
Property Value
Type Description
int
Overrides
ReferenceCollection.Count

Methods

| Edit this page View Source

Add(IModelElement)

Adds the given element to the collection

Declaration
public override void Add(IModelElement item)
Parameters
Type Name Description
IModelElement item

The item to add

Overrides
ReferenceCollection.Add(IModelElement)
| Edit this page View Source

AttachCore()

Declaration
protected override void AttachCore()
Overrides
ReferenceCollection.AttachCore()
| Edit this page View Source

Clear()

Clears the collection and resets all references that implement it.

Declaration
public override void Clear()
Overrides
ReferenceCollection.Clear()
| Edit this page View Source

Contains(IModelElement)

Gets a value indicating whether the given element is contained in the collection

Declaration
public override bool Contains(IModelElement item)
Parameters
Type Name Description
IModelElement item

The item that should be looked out for

Returns
Type Description
bool

True, if it is contained, otherwise False

Overrides
ReferenceCollection.Contains(IModelElement)
| Edit this page View Source

CopyTo(IModelElement[], int)

Copies the contents of the collection to the given array starting from the given array index

Declaration
public override void CopyTo(IModelElement[] array, int arrayIndex)
Parameters
Type Name Description
IModelElement[] array

The array in which the elements should be copied

int arrayIndex

The starting index

Overrides
ReferenceCollection.CopyTo(IModelElement[], int)
| Edit this page View Source

DetachCore()

Declaration
protected override void DetachCore()
Overrides
ReferenceCollection.DetachCore()
| Edit this page View Source

GetEnumerator()

Gets an enumerator that enumerates the collection

Declaration
public override IEnumerator<IModelElement> GetEnumerator()
Returns
Type Description
IEnumerator<IModelElement>

A generic enumerator

Overrides
ReferenceCollection.GetEnumerator()
| Edit this page View Source

Remove(IModelElement)

Removes the given item from the collection

Declaration
public override bool Remove(IModelElement item)
Parameters
Type Name Description
IModelElement item

The item that should be removed

Returns
Type Description
bool

True, if the item was removed, otherwise False

Overrides
ReferenceCollection.Remove(IModelElement)

Implements

INotifyCollectionChanged
IDisposable
ICollectionExpression<T>
IEnumerableExpression<T>
IEnumerableExpression
ICollection<T>
IEnumerable<T>
IEnumerable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX