Table of Contents

Interface IPackageImport

Namespace
NMF.Interop.Cmof
Assembly
NMF.UMLInterop.dll

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

IPackage

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

INamespace

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

VisibilityKind

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

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Events

ImportedPackageChanged

Gets fired when the ImportedPackage property changed its value

event EventHandler<ValueChangedEventArgs> ImportedPackageChanged

Event Type

EventHandler<ValueChangedEventArgs>

ImportedPackageChanging

Gets fired before the ImportedPackage property changes its value

event EventHandler<ValueChangedEventArgs> ImportedPackageChanging

Event Type

EventHandler<ValueChangedEventArgs>

ImportingNamespaceChanged

Gets fired when the ImportingNamespace property changed its value

event EventHandler<ValueChangedEventArgs> ImportingNamespaceChanged

Event Type

EventHandler<ValueChangedEventArgs>

ImportingNamespaceChanging

Gets fired before the ImportingNamespace property changes its value

event EventHandler<ValueChangedEventArgs> ImportingNamespaceChanging

Event Type

EventHandler<ValueChangedEventArgs>

Public_or_privateCalled

Gets fired after the operation public_or_private got called

event EventHandler<OperationCallEventArgs> Public_or_privateCalled

Event Type

EventHandler<OperationCallEventArgs>

Public_or_privateCalling

Gets fired before the operation public_or_private gets called

event EventHandler<OperationCallEventArgs> Public_or_privateCalling

Event Type

EventHandler<OperationCallEventArgs>

VisibilityChanged

Gets fired when the Visibility property changed its value

event EventHandler<ValueChangedEventArgs> VisibilityChanged

Event Type

EventHandler<ValueChangedEventArgs>

VisibilityChanging

Gets fired before the Visibility property changes its value

event EventHandler<ValueChangedEventArgs> VisibilityChanging

Event Type

EventHandler<ValueChangedEventArgs>