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.
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 | Level of error to used in error generation |
Remarks
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
Create layer diagrams from your code
Validate code with layer diagrams
Programming UML Models
Extend UML models and diagrams
Return to top