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