Table of Contents

Class ReferenceTypeEventsCollection

Namespace
NMF.Models.Meta
Assembly
NMF.Models.dll

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 IReferenceType

the parent ReferenceType

Methods

SetOpposite(IEvent, IReferenceType)

Sets the opposite of the given item

protected override void SetOpposite(IEvent item, IReferenceType newParent)

Parameters

item IEvent

the item

newParent IReferenceType

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