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