Condividi tramite


Extensions Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Layer Designer extension methods

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Extensions

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

Syntax

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

The Extensions type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateComment(ILayerContainer)
Public methodStatic member CreateComment(ILayerContainer, String) Create a comment.
Public methodStatic member CreateCommentLink(ILayerComment, ILayer) Link this comment to a layer.
Public methodStatic member CreateCommentLink(ILayerComment, ILayerComment) Link this layer to a comment.
Public methodStatic member CreateDependencyLink Link this layer to another layer on which it depends.
Public methodStatic member CreateLayer(ILayerContainer)
Public methodStatic member CreateLayer(ILayerContainer, String) Create a new layer.
Public methodStatic member Delete(ILayerArtifactReference) Delete the artifact reference.
Public methodStatic member Delete(ILayerElement) Delete the element.
Public methodStatic member Delete(ILayerLink) Delete the link.
Public methodStatic member GetDiagram Get the diagram that presents this model.
Public methodStatic member GetLayerElement Get the layer element presented by this shape.
Public methodStatic member GetLayerModel Get the layer model displayed by this diagram.
Public methodStatic member GetShape Get the shape that presents this layer element.

Top

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.Layer Namespace