Table of Contents

Class NamespaceOwnedRuleCollection

Namespace
NMF.Interop.Legacy.Cmof
Assembly
NMF.UMLInterop.dll

Denotes a class to implement the ownedRule reference

public class NamespaceOwnedRuleCollection : ObservableOppositeList<INamespace, IConstraint>, IReadOnlyList<IConstraint>, IReadOnlyCollection<IConstraint>, IList, ICollection, INotifyCollectionChanging, INotifyPropertyChanged, INotifyCollectionChanged, IListExpression<IConstraint>, IList<IConstraint>, ICollectionExpression<IConstraint>, IEnumerableExpression<IConstraint>, IEnumerableExpression, ICollection<IConstraint>, IEnumerable<IConstraint>, IEnumerable
Inheritance
NamespaceOwnedRuleCollection
Implements
Inherited Members

Constructors

NamespaceOwnedRuleCollection(INamespace)

Creates a new instance

public NamespaceOwnedRuleCollection(INamespace parent)

Parameters

parent INamespace

the parent Namespace

Methods

SetOpposite(IConstraint, INamespace)

Sets the opposite of the given item

protected override void SetOpposite(IConstraint item, INamespace newParent)

Parameters

item IConstraint

the item

newParent INamespace

the new parent or null, if the item is removed from the collection