ComponentExtensions Class
Extension methods for IComponent.
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.ComponentExtensions
Syntax
public static class ComponentExtensions
[ExtensionAttribute]
public ref class ComponentExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ComponentExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ComponentExtensions
Methods
Name | Description | |
---|---|---|
CreatePortWithProvidedInterface(IComponent) | Create a new Provided Interface port object in the component. A new interface is also created within the same package as the component. |
|
CreatePortWithProvidedInterface(IComponent, IInterface) | Create a new Provided Interface port whose type is an existing Interface. |
|
CreatePortWithRequiredInterface(IComponent) | Create a new Required Interface port object in the IComponent. A new interface is also created within the same package as the component. |
|
CreatePortWithRequiredInterface(IComponent, IInterface) | Create a new Required Interface port whose type is an existing Interface. |
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