22 references to StringConstants
Microsoft.VisualStudio.LanguageServices.Xaml (22)
CodeFixes\RemoveUnnecessaryUsings\XamlRemoveUnnecessaryUsingsCodeFixProvider.cs (1)
24[ExportCodeFixProvider(StringConstants.XamlLanguageName, Name = PredefinedCodeFixProviderNames.RemoveUnnecessaryImports), Shared]
Diagnostics\Analyzers\XamlDocumentDiagnosticAnalyzer.cs (1)
16[DiagnosticAnalyzer(StringConstants.XamlLanguageName)]
Features\InlineRename\XamlEditorInlineRenameService.cs (1)
22[ExportLanguageService(typeof(IEditorInlineRenameService), StringConstants.XamlLanguageName), Shared]
Features\OrganizeImports\XamlOrganizeImportsService.cs (1)
19[ExportLanguageService(typeof(IOrganizeImportsService), StringConstants.XamlLanguageName), Shared]
Features\OrganizeImports\XamlRemoveUnnecessaryImportsService.cs (1)
16[ExportLanguageService(typeof(IRemoveUnnecessaryImportsService), StringConstants.XamlLanguageName), Shared]
Features\XamlContentTypeLanguageService.cs (2)
14[ExportContentTypeLanguageService(ContentTypeNames.XamlContentType, StringConstants.XamlLanguageName), Shared] 28return _contentTypeRegistry.GetContentType(StringConstants.XamlLanguageName);
Implementation\LanguageClient\XamlCapabilities.cs (1)
39ExecuteCommandProvider = new ExecuteCommandOptions { Commands = new[] { StringConstants.CreateEventHandlerCommand } },
Implementation\LanguageClient\XamlInProcLanguageClient.cs (1)
51protected override ImmutableArray<string> SupportedLanguages => ImmutableArray.Create(StringConstants.XamlLanguageName);
Implementation\LanguageClient\XamlInProcLanguageClientDisableUX.cs (1)
48protected override ImmutableArray<string> SupportedLanguages => ImmutableArray.Create(StringConstants.XamlLanguageName);
Implementation\LanguageServer\ExportStatelessXamlLspServiceAttribute.cs (1)
15public ExportStatelessXamlLspServiceAttribute(Type handlerType) : base(handlerType, StringConstants.XamlLspLanguagesContract, WellKnownLspServerKinds.XamlLspServer)
Implementation\LanguageServer\Extensions\SolutionExtensions.cs (1)
18=> solution.Projects.Where(p => p.Language == StringConstants.XamlLanguageName);
Implementation\LanguageServer\Handler\Commands\CreateEventCommandHandler.cs (2)
27[Command(StringConstants.CreateEventHandlerCommand)] 36public override string Command => StringConstants.CreateEventHandlerCommand;
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (2)
35CommandIdentifier = StringConstants.RetriggerCompletionCommand, 112CommandIdentifier = StringConstants.CreateEventHandlerCommand,
Implementation\LanguageServer\XamlLspServiceProvider.cs (2)
20[ImportMany(StringConstants.XamlLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices, 21[ImportMany(StringConstants.XamlLspLanguagesContract)] IEnumerable<Lazy<ILspServiceFactory, LspServiceMetadataView>> lspServiceFactories)
Implementation\LanguageServer\XamlLspWorkspaceManagerFactory.cs (1)
13[ExportLspServiceFactory(typeof(LspWorkspaceManager), StringConstants.XamlLspLanguagesContract), Shared]
Implementation\LanguageServer\XamlRequestTelemetryLoggerFactory.cs (1)
14[ExportLspServiceFactory(typeof(RequestTelemetryLogger), StringConstants.XamlLspLanguagesContract), Shared]
Implementation\XamlProjectService.cs (1)
157name, StringConstants.XamlLanguageName, projectInfo, CancellationToken.None));
XamlStaticTypeDefinitions.cs (1)
25[FileExtension(StringConstants.XamlFileExtension)]