Extensions.CreateDependencyLink Method (ILayer, ILayer)
Link this layer to another layer on which it depends.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
public static ILayerDependencyLink CreateDependencyLink(
this ILayer sourceLayer,
ILayer targetLayer
)
public:
[ExtensionAttribute]
static ILayerDependencyLink^ CreateDependencyLink(
ILayer^ sourceLayer,
ILayer^ targetLayer
)
static member CreateDependencyLink :
sourceLayer:ILayer *
targetLayer:ILayer -> ILayerDependencyLink
<ExtensionAttribute>
Public Shared Function CreateDependencyLink (
sourceLayer As ILayer,
targetLayer As ILayer
) As ILayerDependencyLink
Parameters
sourceLayer
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerThe source layer, which requires the target layer.
targetLayer
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerThe target layer, which is required by the source.
Return Value
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerDependencyLink
The new dependency link
See Also
CreateLayer
Extensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace
Return to top