PackageExtensions Class
Extension method for manipulating package contents.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.PackageExtensions
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class PackageExtensions
public static class PackageExtensions
[ExtensionAttribute]
public ref class PackageExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type PackageExtensions = class end
public final class PackageExtensions
The PackageExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateAbstraction | Create a new IAbstraction link in the NamedElement | |
CreateActivity | Create a new IActivity object in the Package | |
CreateActor | Create a new IActor object in the Package | |
CreateArtifact | Create a new IArtifact object in the Package | |
CreateAssociation | Create a new IAssociation | |
CreateClass | Create a new IClass object in the Package | |
CreateComment | Create a new IComment object in the Package | |
CreateComponent | Create a new IComponent object in the Package | |
CreateDataType | Create a new IDataType object in the Package | |
CreateDependency | Create a new IDependency link in the NamedElement | |
CreateEnumeration | Create a new IEnumeration object in the Package | |
CreateInteraction | Create a new IInteraction object in the Package | |
CreateInterface | Create a new IInterface object in the Package | |
CreateInterfaceRealization | Create a new IInterfaceRealization link in the BehavioredClassifier | |
CreatePackage | Create a new IPackage object in the Package | |
CreatePrimitiveType | Create a new IPrimitiveType object in the Package | |
CreateRealization | Create a new IRealization link in the NamedElement | |
CreateSubsystem | Create a new ISubsystem object in the Package | |
CreateUsage | Create a new IUsage link in the NamedElement | |
CreateUseCase | Create a new IUseCase object in the Package | |
GetImportedPackages | The imported packages of the namespace | |
GetImportingNamespaces | The importing namespace of the package |
Top
Remarks
For more information about UML diagrams, see Developing Models for Software Design.
For more information about using the UML API, see Extending 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
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace