3 implementations of IHostDependentFormattingRuleFactoryService
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (1)
32public sealed class Factory : IHostDependentFormattingRuleFactoryService
Microsoft.CodeAnalysis.Workspaces (1)
Formatting\Rules\DefaultFormattingRuleFactoryServiceFactory.cs (1)
14internal sealed class DefaultFormattingRuleFactoryService : IHostDependentFormattingRuleFactoryService
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (1)
20internal sealed class VisualStudioFormattingRuleFactoryService : IHostDependentFormattingRuleFactoryService
22 references to IHostDependentFormattingRuleFactoryService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Formatting\Indentation\CSharpFormatterTestsBase.cs (3)
85var formattingRuleProvider = workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>(); 114var factory = (TestFormattingRuleFactoryServiceFactory.Factory)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Formatting\Indentation\SmartIndenterTests.cs (1)
3688var provider = (TestFormattingRuleFactoryServiceFactory.Factory)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Formatting\CSharpSyntaxFormattingService.cs (2)
283var formattingRuleFactory = _services.SolutionServices.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.EditorFeatures (4)
Formatting\FormatCommandHandler.cs (2)
83var ruleFactory = document.Project.Solution.Services.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Formatting\FormatCommandHandler.Paste.cs (2)
67var formattingRuleService = services.GetService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Formatting\CoreFormatterTestsBase.cs (3)
96if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.Factory factory && factory.BaseIndentation != 0 && factory.TextSpan.Contains(p.Position)) 191var formattingRuleProvider = workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (1)
17[ExportWorkspaceServiceFactory(typeof(IHostDependentFormattingRuleFactoryService), ServiceLayer.Test), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.Features (2)
Formatting\FormattingRuleUtilities.cs (2)
16var formattingRuleFactory = document.SolutionServices.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.Workspaces (3)
Formatting\Rules\DefaultFormattingRuleFactoryServiceFactory.cs (1)
13[ExportWorkspaceService(typeof(IHostDependentFormattingRuleFactoryService), ServiceLayer.Default), Shared]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\AbstractIndentationService.cs (2)
48var formattingRuleFactory = document.SolutionServices.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Microsoft.VisualStudio.LanguageServices (3)
LanguageService\AbstractLanguageService`2.IVsLanguageTextOps.cs (2)
68var ruleFactory = Workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (1)
19[ExportWorkspaceService(typeof(IHostDependentFormattingRuleFactoryService), ServiceLayer.Host), Shared]