Microsoft.CodeAnalysis.Host.Mef Namespace

Classes

ExportLanguageServiceAttribute

Use this attribute to declare a ILanguageService implementation for inclusion in a MEF-based workspace.

ExportLanguageServiceFactoryAttribute

Use this attribute to declare a ILanguageServiceFactory implementation for inclusion in a MEF-based workspace.

ExportWorkspaceServiceAttribute

Use this attribute to declare a IWorkspaceService implementation for inclusion in a MEF-based workspace.

ExportWorkspaceServiceFactoryAttribute

Use this attribute to declare a IWorkspaceServiceFactory implementation for inclusion in a MEF-based workspace.

MefHostServices
ServiceLayer

The layer of an exported service.

If there are multiple definitions of a service, the ServiceLayer is used to determine which is used.

Interfaces

ILanguageServiceFactory

A factory that creates instances of a specific ILanguageService.

Implement a ILanguageServiceFactory when you want to provide ILanguageService instances that use other services.

IWorkspaceServiceFactory

A factory that creates instances of a specific IWorkspaceService.

Implement a IWorkspaceServiceFactory when you want to provide IWorkspaceService instances that use other services.