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