Freigeben über


GraphProviderAttribute-Konstruktor (Type)

Konstruktor zum Angeben eines benutzerdefinierten Typs für den MEF-Export.

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
)

Parameter

  • contractType
    Typ: Type

    Der Typ, der über MEF exportiert wird. Derzeit wird nur IGraphProvider unterstützt.

.NET Framework-Sicherheit

Siehe auch

Referenz

GraphProviderAttribute Klasse

GraphProviderAttribute-Überladung

Microsoft.VisualStudio.GraphModel-Namespace