Interface IPackageImport
The public interface for PackageImport
[DefaultImplementationType(typeof(PackageImport))]
[XmlDefaultImplementationType(typeof(PackageImport))]
[ModelRepresentationClass("http://schema.omg.org/spec/MOF/2.0/cmof.xml#//PackageImport")]
public interface IPackageImport : IDirectedRelationship, IRelationship, IElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
ImportedPackage
Specifies the Package whose members are imported into a Namespace. Subsets DirectedRelationship::target.
[XmlElementName("importedPackage")]
[XmlAttribute(true)]
IPackage ImportedPackage { get; set; }
Property Value
ImportingNamespace
Specifies the Namespace that imports the members from a Package. Subsets DirectedRelationship::source and Element::owner.
[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. By default, the value of visibility is public.
[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)