Interface IPackageImport
The public interface for PackageImport
[DefaultImplementationType(typeof(PackageImport))]
[XmlDefaultImplementationType(typeof(PackageImport))]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//PackageImport")]
public interface IPackageImport : IDirectedRelationship, IRelationship, IElement, IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
ImportedPackage
Specifies the Package whose members are imported into a Namespace.
[XmlElementName("importedPackage")]
[XmlAttribute(true)]
IPackage ImportedPackage { get; set; }
Property Value
ImportingNamespace
Specifies the Namespace that imports the members from a Package.
[Browsable(false)]
[XmlElementName("importingNamespace")]
[XmlAttribute(true)]
[XmlOpposite("packageImport")]
INamespace ImportingNamespace { get; set; }
Property Value
Visibility
Specifies the visibility of the imported PackageableElements within the importing Namespace, i.e., whether imported elements will in turn be visible to other packages that use that importingPackage as an importedPackage. If the PackageImport is public, the imported elements will be visible outside the package, while if it is private they will not.
[XmlElementName("visibility")]
[XmlAttribute(true)]
VisibilityKind Visibility { get; set; }
Property Value
Methods
Public_or_private(object, object)
The visibility of a PackageImport is either public or private. self.visibility = #public or self.visibility = #private
bool Public_or_private(object diagnostics, object context)
Parameters
diagnosticsobjectThe chain of diagnostics to which problems are to be appended.
contextobjectThe cache of context-specific information.
Returns
Events
ImportedPackageChanged
Gets fired when the ImportedPackage property changed its value
event EventHandler<ValueChangedEventArgs> ImportedPackageChanged
Event Type
ImportedPackageChanging
Gets fired before the ImportedPackage property changes its value
event EventHandler<ValueChangedEventArgs> ImportedPackageChanging
Event Type
ImportingNamespaceChanged
Gets fired when the ImportingNamespace property changed its value
event EventHandler<ValueChangedEventArgs> ImportingNamespaceChanged
Event Type
ImportingNamespaceChanging
Gets fired before the ImportingNamespace property changes its value
event EventHandler<ValueChangedEventArgs> ImportingNamespaceChanging
Event Type
Public_or_privateCalled
Gets fired after the operation public_or_private got called
event EventHandler<OperationCallEventArgs> Public_or_privateCalled
Event Type
Public_or_privateCalling
Gets fired before the operation public_or_private gets called
event EventHandler<OperationCallEventArgs> Public_or_privateCalling
Event Type
VisibilityChanged
Gets fired when the Visibility property changed its value
event EventHandler<ValueChangedEventArgs> VisibilityChanged
Event Type
VisibilityChanging
Gets fired before the Visibility property changes its value
event EventHandler<ValueChangedEventArgs> VisibilityChanging