Class EnumerationLiteralsCollection
Denotes a class to implement the Literals reference
public class EnumerationLiteralsCollection : ObservableOppositeList<IEnumeration, ILiteral>, IReadOnlyList<ILiteral>, IReadOnlyCollection<ILiteral>, IList, ICollection, INotifyCollectionChanging, INotifyPropertyChanged, INotifyCollectionChanged, IListExpression<ILiteral>, IList<ILiteral>, ICollectionExpression<ILiteral>, IEnumerableExpression<ILiteral>, IEnumerableExpression, ICollection<ILiteral>, IEnumerable<ILiteral>, IEnumerable
- Inheritance
-
EnumerationLiteralsCollection
- Implements
- Inherited Members
Constructors
EnumerationLiteralsCollection(IEnumeration)
Creates a new instance
public EnumerationLiteralsCollection(IEnumeration parent)
Parameters
parent
IEnumerationthe parent Enumeration
Methods
SetOpposite(ILiteral, IEnumeration)
Sets the opposite of the given item
protected override void SetOpposite(ILiteral item, IEnumeration newParent)
Parameters
item
ILiteralthe item
newParent
IEnumerationthe new parent or null, if the item is removed from the collection