5 types derived from ExportLspServiceFactoryAttribute
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\Api\ExportTypeScriptLspRequestHandlerProviderAttribute.cs (1)
12internal class ExportTypeScriptLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.TypeScriptLanguageContract)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\ExportCohostLspServiceFactoryAttribute.cs (1)
12internal class ExportCohostLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.AlwaysActiveVSLspServer);
ExportRazorLspServiceFactoryAttribute.cs (1)
12internal class ExportRazorLspServiceFactoryAttribute(Type handlerType) : ExportLspServiceFactoryAttribute(handlerType, ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any);
Microsoft.CodeAnalysis.ExternalAccess.Xaml (1)
External\ExportXamlLspServiceFactoryAttribute.cs (1)
15internal sealed class ExportXamlLspServiceFactoryAttribute : ExportLspServiceFactoryAttribute
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (1)
15: ExportLspServiceFactoryAttribute(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind);
13 instantiations of ExportLspServiceFactoryAttribute
Microsoft.CodeAnalysis.EditorFeatures (5)
ExternalAccess\VSTypeScript\VSTypeScriptLifeCycleManager.cs (1)
13[ExportLspServiceFactory(typeof(LspServiceLifeCycleManager), ProtocolConstants.TypeScriptLanguageContract), Shared]
ExternalAccess\VSTypeScript\VSTypeScriptLspWorkspaceManagerFactory.cs (1)
12[ExportLspServiceFactory(typeof(LspWorkspaceManager), ProtocolConstants.TypeScriptLanguageContract), Shared]
ExternalAccess\VSTypeScript\VSTypeScriptPullDiagnosticHandlerProvider.cs (2)
16[ExportLspServiceFactory(typeof(DocumentPullDiagnosticHandler), ProtocolConstants.TypeScriptLanguageContract), Shared] 25[ExportLspServiceFactory(typeof(WorkspacePullDiagnosticHandler), ProtocolConstants.TypeScriptLanguageContract), Shared]
ExternalAccess\VSTypeScript\VSTypeScriptRequestTelemetryLoggerFactory.cs (1)
13[ExportLspServiceFactory(typeof(RequestTelemetryLogger), ProtocolConstants.TypeScriptLanguageContract), Shared]
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\Razor\RazorClientLanguageServerManagerFactory.cs (1)
12[ExportLspServiceFactory(typeof(IRazorClientLanguageServerManager), ProtocolConstants.RoslynLspLanguagesContract)]
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
LspServicesTests.cs (4)
101[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 111[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared] 121[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.CSharpVisualBasicLspServer), Shared] 131[ExportLspServiceFactory(typeof(TestLspServiceFromFactory), ProtocolConstants.RoslynLspLanguagesContract, WellKnownLspServerKinds.Any), Shared]
Microsoft.VisualStudio.LanguageServices.Xaml (3)
Implementation\LanguageServer\XamlLifeCycleManager.cs (1)
14[ExportLspServiceFactory(typeof(LspServiceLifeCycleManager), StringConstants.XamlLspLanguagesContract), Shared]
Implementation\LanguageServer\XamlLspWorkspaceManagerFactory.cs (1)
13[ExportLspServiceFactory(typeof(LspWorkspaceManager), StringConstants.XamlLspLanguagesContract), Shared]
Implementation\LanguageServer\XamlRequestTelemetryLoggerFactory.cs (1)
14[ExportLspServiceFactory(typeof(RequestTelemetryLogger), StringConstants.XamlLspLanguagesContract), Shared]
3 references to ExportLspServiceFactoryAttribute
Microsoft.CodeAnalysis.ExternalAccess.Xaml (1)
External\ExportXamlLspServiceFactoryAttribute.cs (1)
12/// Defines an easy to use subclass for <see cref="ExportLspServiceFactoryAttribute"/> with the Roslyn languages contract name.
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (1)
11/// Defines an easy to use subclass for <see cref="ExportLspServiceFactoryAttribute"/> with the roslyn languages contract name.
WellKnownLspServerKinds.cs (1)
41/// Flag representing any LSP server - used by <see cref="ExportLspServiceFactoryAttribute"/>