GraphProviderAttribute Constructor (Type)
Constructor for specifying a custom type to be MEF exported.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub New ( _
contractType As Type _
)
public GraphProviderAttribute(
Type contractType
)
public:
GraphProviderAttribute(
Type^ contractType
)
new :
contractType:Type -> GraphProviderAttribute
public function GraphProviderAttribute(
contractType : Type
)
Parameters
contractType
Type: TypeThe type that will be exported through MEF. Currently only IGraphProvider is supported.
.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.