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
parentINamespacethe parent Namespace
Methods
SetOpposite(IElementImport, INamespace)
Sets the opposite of the given item
protected override void SetOpposite(IElementImport item, INamespace newParent)
Parameters
itemIElementImportthe item
newParentINamespacethe new parent or null, if the item is removed from the collection