Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.
For more information, see the following topics:
Updating Layer Models by using the API
Adding Commands and Gestures to Layer Diagrams
Adding Custom Architecture Validation to Layer Diagrams
Adding Custom Properties to a Layer Diagram
Navigating and Updating Layer Models in Program Code
Troubleshooting Extensions for Layer Diagrams
Creating and Using Layer Models as a User
Programming UML Models
| 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 |