ComponentExtensions Class

Extension methods for IComponent.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ComponentExtensions
public static class ComponentExtensions
[ExtensionAttribute]
public ref class ComponentExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ComponentExtensions =  class end
public final class ComponentExtensions

Methods

  Name Description
Public methodStatic member 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.
Public methodStatic member CreatePortWithProvidedInterface(IComponent, IInterface) Create a new Provided Interface port whose type is an existing Interface.
Public methodStatic member 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.
Public methodStatic member CreatePortWithRequiredInterface(IComponent, IInterface) Create a new Required Interface port whose type is an existing Interface.

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