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
parent
IReferenceTypethe parent ReferenceType
Methods
SetOpposite(IEvent, IReferenceType)
Sets the opposite of the given item
protected override void SetOpposite(IEvent item, IReferenceType newParent)
Parameters
item
IEventthe item
newParent
IReferenceTypethe new parent or null, if the item is removed from the collection