Show / Hide Table of Contents

Class ReferenceCollection

Denotes the base class for a collection of referenced elements

Inheritance
object
ReferenceCollection
Configuration.ConfigurationChildrenCollection
Configuration.ConfigurationReferencedElementsCollection
EAnnotation.EAnnotationChildrenCollection
EAnnotation.EAnnotationReferencedElementsCollection
EClass.EClassChildrenCollection
EClass.EClassReferencedElementsCollection
EClassifier.EClassifierChildrenCollection
EClassifier.EClassifierReferencedElementsCollection
EEnum.EEnumChildrenCollection
EEnum.EEnumReferencedElementsCollection
EEnumLiteral.EEnumLiteralReferencedElementsCollection
EFactory.EFactoryReferencedElementsCollection
EGenericType.EGenericTypeChildrenCollection
EGenericType.EGenericTypeReferencedElementsCollection
EModelElement.EModelElementChildrenCollection
EModelElement.EModelElementReferencedElementsCollection
EOperation.EOperationChildrenCollection
EOperation.EOperationReferencedElementsCollection
EPackage.EPackageChildrenCollection
EPackage.EPackageReferencedElementsCollection
EParameter.EParameterReferencedElementsCollection
EReference.EReferenceReferencedElementsCollection
EStructuralFeature.EStructuralFeatureReferencedElementsCollection
ETypeParameter.ETypeParameterChildrenCollection
ETypeParameter.ETypeParameterReferencedElementsCollection
ETypedElement.ETypedElementChildrenCollection
ETypedElement.ETypedElementReferencedElementsCollection
ReferenceLayoutInformation.ReferenceLayoutInformationReferencedElementsCollection
SimpleAnyType.SimpleAnyTypeReferencedElementsCollection
XMLTypeDocumentRoot.XMLTypeDocumentRootChildrenCollection
XMLTypeDocumentRoot.XMLTypeDocumentRootReferencedElementsCollection
AssociationCollectionDeletion.AssociationCollectionDeletionReferencedElementsCollection
AssociationCollectionInsertion.AssociationCollectionInsertionReferencedElementsCollection
AssociationListDeletion.AssociationListDeletionReferencedElementsCollection
AssociationListInsertion.AssociationListInsertionReferencedElementsCollection
AssociationPropertyChange.AssociationPropertyChangeReferencedElementsCollection
ChangeTransaction.ChangeTransactionChildrenCollection
ChangeTransaction.ChangeTransactionReferencedElementsCollection
CompositionCollectionDeletion.CompositionCollectionDeletionReferencedElementsCollection
CompositionCollectionInsertion.CompositionCollectionInsertionChildrenCollection
CompositionCollectionInsertion.CompositionCollectionInsertionReferencedElementsCollection
CompositionListDeletion.CompositionListDeletionReferencedElementsCollection
CompositionListInsertion.CompositionListInsertionChildrenCollection
CompositionListInsertion.CompositionListInsertionReferencedElementsCollection
CompositionMoveIntoProperty.CompositionMoveIntoPropertyChildrenCollection
CompositionMoveIntoProperty.CompositionMoveIntoPropertyReferencedElementsCollection
CompositionMoveToCollection.CompositionMoveToCollectionChildrenCollection
CompositionMoveToCollection.CompositionMoveToCollectionReferencedElementsCollection
CompositionMoveToList.CompositionMoveToListChildrenCollection
CompositionMoveToList.CompositionMoveToListReferencedElementsCollection
CompositionPropertyChange.CompositionPropertyChangeChildrenCollection
CompositionPropertyChange.CompositionPropertyChangeReferencedElementsCollection
ElementaryChange.ElementaryChangeReferencedElementsCollection
ModelChangeSet.ModelChangeSetChildrenCollection
ModelChangeSet.ModelChangeSetReferencedElementsCollection
OperationCall.OperationCallReferencedElementsCollection
ReferenceArgument.ReferenceArgumentReferencedElementsCollection
AnnotationEntry.AnnotationEntryChildrenCollection
AnnotationEntry.AnnotationEntryReferencedElementsCollection
Attribute.AttributeReferencedElementsCollection
AttributeConstraint.AttributeConstraintReferencedElementsCollection
Class.ClassChildrenCollection
Class.ClassReferencedElementsCollection
Enumeration.EnumerationChildrenCollection
Enumeration.EnumerationReferencedElementsCollection
Event.EventReferencedElementsCollection
Extension.ExtensionReferencedElementsCollection
Literal.LiteralReferencedElementsCollection
Namespace.NamespaceChildrenCollection
Namespace.NamespaceReferencedElementsCollection
Operation.OperationChildrenCollection
Operation.OperationReferencedElementsCollection
Parameter.ParameterReferencedElementsCollection
Reference.ReferenceReferencedElementsCollection
ReferenceConstraint.ReferenceConstraintReferencedElementsCollection
ReferenceType.ReferenceTypeChildrenCollection
ReferenceType.ReferenceTypeReferencedElementsCollection
StructuredType.StructuredTypeChildrenCollection
StructuredType.StructuredTypeReferencedElementsCollection
Type.TypeReferencedElementsCollection
TypedElement.TypedElementReferencedElementsCollection
Model.ModelChildrenCollection
Model.ModelReferencedElementsCollection
Implements
ICollectionExpression<IModelElement>
IEnumerableExpression<IModelElement>
IEnumerableExpression
ICollection<IModelElement>
IEnumerable<IModelElement>
IEnumerable
INotifyCollectionChanged
IDisposable
Inherited Members
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 abstract class ReferenceCollection : ICollectionExpression<IModelElement>, IEnumerableExpression<IModelElement>, IEnumerableExpression, ICollection<IModelElement>, IEnumerable<IModelElement>, IEnumerable, INotifyCollectionChanged, IDisposable

Properties

| Edit this page View Source

Count

Declaration
public abstract int Count { get; }
Property Value
Type Description
int
| Edit this page View Source

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Add(IModelElement)

Declaration
public abstract void Add(IModelElement item)
Parameters
Type Name Description
IModelElement item
| Edit this page View Source

AsNotifiable()

Gets notifications for this collection

Declaration
public INotifyCollection<IModelElement> AsNotifiable()
Returns
Type Description
INotifyCollection<IModelElement>

A collection that will notify clients as new elements change

| Edit this page View Source

AttachCore()

Declaration
protected abstract void AttachCore()
| Edit this page View Source

Clear()

Declaration
public abstract void Clear()
| Edit this page View Source

Contains(IModelElement)

Declaration
public abstract bool Contains(IModelElement item)
Parameters
Type Name Description
IModelElement item
Returns
Type Description
bool
| Edit this page View Source

CopyTo(IModelElement[], int)

Declaration
public abstract void CopyTo(IModelElement[] array, int arrayIndex)
Parameters
Type Name Description
IModelElement[] array
int arrayIndex
| Edit this page View Source

DetachCore()

Declaration
protected abstract void DetachCore()
| Edit this page View Source

Dispose()

Declaration
public void Dispose()
| Edit this page View Source

Dispose(bool)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing
| Edit this page View Source

GetEnumerator()

Declaration
public abstract IEnumerator<IModelElement> GetEnumerator()
Returns
Type Description
IEnumerator<IModelElement>
| Edit this page View Source

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type Name Description
NotifyCollectionChangedEventArgs e
| Edit this page View Source

PropagateCollectionChanges(object, NotifyCollectionChangedEventArgs)

Propagate a collection changed event

Declaration
protected void PropagateCollectionChanges(object sender, NotifyCollectionChangedEventArgs e)
Parameters
Type Name Description
object sender

The original sender

NotifyCollectionChangedEventArgs e

The event args

| Edit this page View Source

PropagateValueChanges(object, ValueChangedEventArgs)

Propagate a value changed event

Declaration
protected void PropagateValueChanges(object sender, ValueChangedEventArgs e)
Parameters
Type Name Description
object sender

The original sender

ValueChangedEventArgs e

The original event args

| Edit this page View Source

Remove(IModelElement)

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

Events

| Edit this page View Source

CollectionChanged

Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
Type Description
NotifyCollectionChangedEventHandler

Implements

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