Partager via


GraphProviderAttribute Class

Definition

Attribute to indicate that the target type is a graph provider.

public ref class GraphProviderAttribute : System::ComponentModel::Composition::ExportAttribute, Microsoft::VisualStudio::GraphModel::IGraphProviderMetadata
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class GraphProviderAttribute : System.ComponentModel.Composition.ExportAttribute, Microsoft.VisualStudio.GraphModel.IGraphProviderMetadata
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type GraphProviderAttribute = class
    inherit ExportAttribute
    interface IGraphProviderMetadata
Public Class GraphProviderAttribute
Inherits ExportAttribute
Implements IGraphProviderMetadata
Inheritance
GraphProviderAttribute
Attributes
Implements

Constructors

GraphProviderAttribute()
GraphProviderAttribute(Type)

Constructor for specifying a custom type to be MEF exported.

Properties

ActiveUIContext

A UIContext GUID as a string. The provider will be loaded if this UI context is active.

IntellisenseType

The intellisense type guid as a string. The provider will be loaded any time a project with this intellisense kind is present.

Name

The name used to identify the provider.

ProjectCapability

Provider will be loaded any time specified capability is present in a project.

ProjectKind

The project kind guid as a string. The provider will be loaded any time a project of this kind is present.

Applies to