Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace
The classes in this namespace allow you to read and update layer models. ILayerModel represents the model root, ILayer is a layer node, and IDependencyLink instances link the layers. Each ILayer is represented on a diagram by a IShape.
| Class | Description | |
|---|---|---|
![]() | ArtifactReferenceExtensions | Layer Designer extension methods |
![]() | CreateArtifactReferenceCompletedEventArgs | Callback argument for artifact reference creation. |
![]() | Extensions | Layer Designer extension methods |
![]() | LayerDesignerExtensionAttribute | Apply this attribute to a class that defines an extension on layer diagrams. |
![]() | PropertyExtension<'TTargetElementType> | Abstract base class for Property Extensions. |
![]() | ValidationExtensions | Extension methods for validation. |
| Interface | Description | |
|---|---|---|
![]() | ILayer | Layer element |
![]() | ILayerArtifactReference | Artifact reference |
![]() | ILayerComment | Comment element. A comment can be contained in a layer model or in a layer, and can also be linked to any number of layers. |
![]() | ILayerCommentLink | Link from a comment to an element. |
![]() | ILayerContainer | An object that can contain a layer, such as a layer model or layer. |
![]() | ILayerDependencyLink | Link from a layer to another layer that it depends on. |
![]() | ILayerElement | The base for all elements in a layer diagram. |
![]() | ILayerLink | The base for all links in a layer model. |
![]() | ILayerModel | Root layer model |
![]() | IPropertyExtension | Layer extension to show custom properties in the property grid |
![]() | IValidateArchitectureExtension | Export and implement this interface to define a custom layer validation scheme, invoked by the Validate Architecture command. |
| Enumeration | Description | |
|---|---|---|
![]() | GraphErrorLevel | Level of error to used in error generation |
For more information, see the following topics:


