Facades.GetFacade<TFacade> Method (ModelElement)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
For the given layer element, this method returns the requested facade object to represent the passed in layer element
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
'Declaration
Public Shared Function GetFacade(Of TFacade As {Class, ILayerElement}) ( _
element As ModelElement _
) As TFacade
public static TFacade GetFacade<TFacade>(
ModelElement element
)
where TFacade : class, ILayerElement
public:
generic<typename TFacade>
where TFacade : ref class, ILayerElement
static TFacade GetFacade(
ModelElement^ element
)
static member GetFacade :
element:ModelElement -> 'TFacade when 'TFacade : not struct and ILayerElement
JScript does not support generic types or methods.
Type Parameters
- TFacade
type of Facade object to be created
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
layer element to be wrapped
Return Value
Type: TFacade
The requested TFacade object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal Namespace