Class NamespaceOwnedRuleCollection
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
parentINamespacethe parent Namespace
Methods
SetOpposite(IConstraint, INamespace)
Sets the opposite of the given item
protected override void SetOpposite(IConstraint item, INamespace newParent)
Parameters
itemIConstraintthe item
newParentINamespacethe new parent or null, if the item is removed from the collection