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)
15internal sealed class DefaultFormattingRuleFactoryService : IHostDependentFormattingRuleFactoryService
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (1)
26internal sealed class VisualStudioFormattingRuleFactoryService : IHostDependentFormattingRuleFactoryService
26 references to IHostDependentFormattingRuleFactoryService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Formatting\Indentation\CSharpFormatterTestsBase.cs (3)
87var formattingRuleProvider = workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>(); 116var factory = (TestFormattingRuleFactoryServiceFactory.Factory)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Formatting\Indentation\SmartIndenterTests.cs (1)
3487var provider = (TestFormattingRuleFactoryServiceFactory.Factory)workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Formatting\CSharpSyntaxFormattingService.cs (2)
319var formattingRuleFactory = _services.SolutionServices.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.EditorFeatures (4)
Formatting\FormatCommandHandler.cs (2)
80var ruleFactory = document.Project.Solution.Services.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Formatting\FormatCommandHandler.Paste.cs (2)
72var formattingRuleService = services.GetService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Formatting\CoreFormatterTestsBase.cs (3)
98if (workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>() is TestFormattingRuleFactoryServiceFactory.Factory factory && factory.BaseIndentation != 0 && factory.TextSpan.Contains(p.Position)) 193var 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.VisualBasic.EditorFeatures (2)
LineCommit\CommitCommandHandler.vb (1)
243Dim formattingRuleService = document.Project.Solution.Services.GetService(Of IHostDependentFormattingRuleFactoryService)()
LineCommit\CommitFormatter.vb (1)
186Dim formattingRuleService = languageServices.SolutionServices.GetService(Of IHostDependentFormattingRuleFactoryService)()
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
Formatting\Indentation\SmartIndenterTests.vb (1)
2988Dim factory = CType(workspace.Services.GetService(Of IHostDependentFormattingRuleFactoryService)(),
Formatting\VisualBasicFormatterTestBase.vb (1)
54Dim formattingRuleProvider = workspace.Services.GetService(Of IHostDependentFormattingRuleFactoryService)()
Microsoft.CodeAnalysis.Workspaces (3)
AbstractIndentationService.cs (2)
51var formattingRuleFactory = document.SolutionServices.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Formatting\Rules\DefaultFormattingRuleFactoryServiceFactory.cs (1)
14[ExportWorkspaceService(typeof(IHostDependentFormattingRuleFactoryService), ServiceLayer.Default), Shared]
Microsoft.VisualStudio.LanguageServices (3)
LanguageService\AbstractLanguageService`2.IVsLanguageTextOps.cs (2)
68var ruleFactory = Workspace.Services.GetService<IHostDependentFormattingRuleFactoryService>();
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (1)
25[ExportWorkspaceService(typeof(IHostDependentFormattingRuleFactoryService), ServiceLayer.Host), Shared]