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