Class ReferenceTypeReferencesCollection
Denotes a class to implement the References reference
public class ReferenceTypeReferencesCollection : ObservableOppositeList<IReferenceType, IReference>, IReadOnlyList<IReference>, IReadOnlyCollection<IReference>, IList, ICollection, INotifyCollectionChanging, INotifyPropertyChanged, INotifyCollectionChanged, IListExpression<IReference>, IList<IReference>, ICollectionExpression<IReference>, IEnumerableExpression<IReference>, IEnumerableExpression, ICollection<IReference>, IEnumerable<IReference>, IEnumerable
- Inheritance
-
ReferenceTypeReferencesCollection
- Implements
- Inherited Members
Constructors
ReferenceTypeReferencesCollection(IReferenceType)
Creates a new instance
public ReferenceTypeReferencesCollection(IReferenceType parent)
Parameters
parentIReferenceTypethe parent ReferenceType
Methods
SetOpposite(IReference, IReferenceType)
Sets the opposite of the given item
protected override void SetOpposite(IReference item, IReferenceType newParent)
Parameters
itemIReferencethe item
newParentIReferenceTypethe new parent or null, if the item is removed from the collection