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.
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
How to: Generate Files from a UML Model
How to: Open a UML Model by Using the Visual Studio API
Creating and Using Layer Models as a User
Create Layer Diagrams from Code
Validate Code with Layer Diagrams
Programming UML Models
Extending UML Models and Diagrams
Classes
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. |
Interfaces
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. |
Enumerations
Enumeration | Description | |
---|---|---|
GraphErrorLevel |