Class NamespaceTypesCollection
Denotes a class to implement the Types reference
public class NamespaceTypesCollection : ObservableOppositeList<INamespace, IType>, IReadOnlyList<IType>, IReadOnlyCollection<IType>, IList, ICollection, INotifyCollectionChanging, INotifyPropertyChanged, INotifyCollectionChanged, IListExpression<IType>, IList<IType>, ICollectionExpression<IType>, IEnumerableExpression<IType>, IEnumerableExpression, ICollection<IType>, IEnumerable<IType>, IEnumerable
- Inheritance
-
NamespaceTypesCollection
- Implements
- Inherited Members
Constructors
NamespaceTypesCollection(INamespace)
Creates a new instance
public NamespaceTypesCollection(INamespace parent)
Parameters
parentINamespacethe parent Namespace
Methods
SetOpposite(IType, INamespace)
Sets the opposite of the given item
protected override void SetOpposite(IType item, INamespace newParent)
Parameters
itemITypethe item
newParentINamespacethe new parent or null, if the item is removed from the collection