PackageExtensions Class

 

Extension method for manipulating package contents.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.PackageExtensions

Syntax

public static class PackageExtensions
[ExtensionAttribute]
public ref class PackageExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type PackageExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class PackageExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateAbstraction(IPackage, INamedElement, INamedElement)

Create a new IAbstraction link in the NamedElement

System_CAPS_pubmethodSystem_CAPS_static CreateActivity(IPackage)

Create a new IActivity object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateActor(IPackage)

Create a new IActor object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateArtifact(IPackage)

Create a new IArtifact object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateAssociation(IPackage, IClassifier, IClassifier)

Create a new IAssociation

System_CAPS_pubmethodSystem_CAPS_static CreateClass(IPackage)

Create a new IClass object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateComment(IPackage)

Create a new IComment object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateComponent(IPackage)

Create a new IComponent object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateDataType(IPackage)

Create a new IDataType object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateDependency(IPackage, INamedElement, INamedElement)

Create a new IDependency link in the NamedElement

System_CAPS_pubmethodSystem_CAPS_static CreateEnumeration(IPackage)

Create a new IEnumeration object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateInteraction(IPackage)

Create a new IInteraction object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateInterface(IPackage)

Create a new IInterface object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateInterfaceRealization(IPackage, IBehavioredClassifier, IInterface)

Create a new IInterfaceRealization link in the BehavioredClassifier

System_CAPS_pubmethodSystem_CAPS_static CreatePackage(IPackage)

Create a new IPackage object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreatePrimitiveType(IPackage)

Create a new IPrimitiveType object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateRealization(IPackage, INamedElement, INamedElement)

Create a new IRealization link in the NamedElement

System_CAPS_pubmethodSystem_CAPS_static CreateSubsystem(IPackage)

Create a new ISubsystem object in the Package

System_CAPS_pubmethodSystem_CAPS_static CreateUsage(IPackage, INamedElement, INamedElement)

Create a new IUsage link in the NamedElement

System_CAPS_pubmethodSystem_CAPS_static CreateUseCase(IPackage)

Create a new IUseCase object in the Package

System_CAPS_pubmethodSystem_CAPS_static GetImportedPackages(INamespace)

The imported packages of the namespace

System_CAPS_pubmethodSystem_CAPS_static GetImportingNamespaces(IPackage)

The importing namespace of the package

Remarks

For more information about UML diagrams, see Create models for your app.

For more information about using the UML API, see Extend UML models and diagrams.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top