Share via


ILayer Interface

Layer element

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

Syntax

'Declaration
Public Interface ILayer _
    Inherits ILayerContainer, ILayerElement
public interface ILayer : ILayerContainer, ILayerElement
public interface class ILayer : ILayerContainer, 
    ILayerElement
type ILayer =  
    interface 
        interface ILayerContainer 
        interface ILayerElement 
    end
public interface ILayer extends ILayerContainer, ILayerElement

The ILayer type exposes the following members.

Properties

  Name Description
Public property ArtifactReferences Get the artifact references.
Public property Comments Get the comments that are contained in this element (not the comments that are linked to it). (Inherited from ILayerContainer.)
Public property Description Get/set the description. (Inherited from ILayerElement.)
Public property Id Gets the unique identifier of this element. (Inherited from ILayerElement.)
Public property IncomingDependencyLinks Get the incoming dependency links.
Public property IsDeleted Check whether this element has been deleted. (Inherited from ILayerElement.)
Public property Layers Get the layers that are contained in this element. (Inherited from ILayerContainer.)
Public property Name Get/set the unique name. (Inherited from ILayerElement.)
Public property OutgoingDependencyLinks Get the outgoing dependency links.
Public property Parent The parent container, either an ILayer or an ILayerModel.
Public property Properties Gets a string dictionary that you can use to store arbitrary data with each ILayerElement. (Inherited from ILayerElement.)

Top

Extension Methods

  Name Description
Public Extension Method CreateArtifactReferenceAsync(Project) Overloaded. (Defined by ArtifactReferenceExtensions.)
Public Extension Method CreateArtifactReferenceAsync(Project, EventHandler<CreateArtifactReferenceCompletedEventArgs>) Overloaded. (Defined by ArtifactReferenceExtensions.)
Public Extension Method CreateArtifactReferenceAsync(Project, EventHandler<CreateArtifactReferenceCompletedEventArgs>, Object) Overloaded. Link this layer to a Visual Studio project. This is an asynchronous operation. The completed event will be called when the operation has terminated. (Defined by ArtifactReferenceExtensions.)
Public Extension Method CreateArtifactReferenceAsync(ProjectItem, EventHandler<CreateArtifactReferenceCompletedEventArgs>, Object) Overloaded. Link this layer to a Visual Studio project item such as a file. This is an asynchronous operation. The completed event will be called when the operation has terminated. (Defined by ArtifactReferenceExtensions.)
Public Extension Method CreateComment() Overloaded. (Defined by Extensions.)
Public Extension Method CreateComment(String) Overloaded. Create a comment. (Defined by Extensions.)
Public Extension Method CreateDependencyLink Link this layer to another layer on which it depends. (Defined by Extensions.)
Public Extension Method CreateLayer() Overloaded. (Defined by Extensions.)
Public Extension Method CreateLayer(String) Overloaded. Create a new layer. (Defined by Extensions.)
Public Extension Method Delete Delete the element. (Defined by Extensions.)
Public Extension Method GetShape Get the shape that presents this layer element. (Defined by Extensions.)

Top

See Also

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

CreateLayer

Other Resources

Layer Diagrams: Reference