다음을 통해 공유


ILayer Interface

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

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 (Inherited from ILayerContainer.)
Public property Description (Inherited from ILayerElement.)
Public property Id (Inherited from ILayerElement.)
Public property IncomingDependencyLinks Get the incoming dependency links.
Public property IsDeleted (Inherited from ILayerElement.)
Public property Layers (Inherited from ILayerContainer.)
Public property 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 (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

Other Resources

Layer Diagrams: Reference