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 | |
---|---|---|
CreateAbstraction(IPackage, INamedElement, INamedElement) | Create a new IAbstraction link in the NamedElement |
|
CreateActivity(IPackage) | Create a new IActivity object in the Package |
|
CreateActor(IPackage) | Create a new IActor object in the Package |
|
CreateArtifact(IPackage) | Create a new IArtifact object in the Package |
|
CreateAssociation(IPackage, IClassifier, IClassifier) | Create a new IAssociation |
|
CreateClass(IPackage) | Create a new IClass object in the Package |
|
CreateComment(IPackage) | Create a new IComment object in the Package |
|
CreateComponent(IPackage) | Create a new IComponent object in the Package |
|
CreateDataType(IPackage) | Create a new IDataType object in the Package |
|
CreateDependency(IPackage, INamedElement, INamedElement) | Create a new IDependency link in the NamedElement |
|
CreateEnumeration(IPackage) | Create a new IEnumeration object in the Package |
|
CreateInteraction(IPackage) | Create a new IInteraction object in the Package |
|
CreateInterface(IPackage) | Create a new IInterface object in the Package |
|
CreateInterfaceRealization(IPackage, IBehavioredClassifier, IInterface) | Create a new IInterfaceRealization link in the BehavioredClassifier |
|
CreatePackage(IPackage) | Create a new IPackage object in the Package |
|
CreatePrimitiveType(IPackage) | Create a new IPrimitiveType object in the Package |
|
CreateRealization(IPackage, INamedElement, INamedElement) | Create a new IRealization link in the NamedElement |
|
CreateSubsystem(IPackage) | Create a new ISubsystem object in the Package |
|
CreateUsage(IPackage, INamedElement, INamedElement) | Create a new IUsage link in the NamedElement |
|
CreateUseCase(IPackage) | Create a new IUseCase object in the Package |
|
GetImportedPackages(INamespace) | The imported packages of the namespace |
|
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