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
System_CAPS_pubclass ArtifactReferenceExtensions

Layer Designer extension methods

System_CAPS_pubclass CreateArtifactReferenceCompletedEventArgs

Callback argument for artifact reference creation.

System_CAPS_pubclass Extensions

Layer Designer extension methods

System_CAPS_pubclass LayerDesignerExtensionAttribute

Apply this attribute to a class that defines an extension on layer diagrams.

System_CAPS_pubclass PropertyExtension<TTargetElementType>

Abstract base class for Property Extensions.

System_CAPS_pubclass ValidationExtensions

Extension methods for validation.


Interface Description
System_CAPS_pubinterface ILayer

Layer element

System_CAPS_pubinterface ILayerArtifactReference

Artifact reference

System_CAPS_pubinterface 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.

System_CAPS_pubinterface ILayerCommentLink

Link from a comment to an element.

System_CAPS_pubinterface ILayerContainer

An object that can contain a layer, such as a layer model or layer.

System_CAPS_pubinterface ILayerDependencyLink

Link from a layer to another layer that it depends on.

System_CAPS_pubinterface ILayerElement

The base for all elements in a layer diagram.

System_CAPS_pubinterface ILayerLink

The base for all links in a layer model.

System_CAPS_pubinterface ILayerModel

Root layer model

System_CAPS_pubinterface IPropertyExtension

Layer extension to show custom properties in the property grid

System_CAPS_pubinterface IValidateArchitectureExtension

Export and implement this interface to define a custom layer validation scheme, invoked by the Validate Architecture command.


Enumeration Description
System_CAPS_pubenum GraphErrorLevel

Level of error to used in error generation


For more information, see the following topics:

Updating Layer Models by using the API

Add commands and gestures to layer diagrams

Add custom architecture validation to layer diagrams

Add custom properties to layer diagrams

Navigate and update layer models in program code

Troubleshoot extensions for layer diagrams

Generate files from a UML model

Open a UML model by using the Visual Studio API

Creating and Using Layer Models as a User

Layer Diagrams: Reference

Layer Diagrams: Guidelines

Create layer diagrams from your code

Validate code with layer diagrams

Programming UML Models

Extend UML models and diagrams

Return to top