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