47 implementations of IWorkspaceServiceFactory
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
LanguageServices\SemanticModelWorkspaceService\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
12internal partial class SemanticModelReuseWorkspaceServiceFactory : IWorkspaceServiceFactory
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceServices\SemanticModelReuse\SemanticModelReuseWorkspaceServiceFactory.cs (1)
14internal sealed partial class SemanticModelReuseWorkspaceServiceFactory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.EditorFeatures (1)
Undo\NoOpGlobalUndoServiceFactory.cs (1)
18internal class NoOpGlobalUndoServiceFactory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
DocumentTracking\FirstDocumentIsActiveAndVisibleDocumentTrackingService.cs (1)
32public class Factory : IWorkspaceServiceFactory
NavigateTo\AbstractNavigateToTests.cs (1)
250public class Factory : IWorkspaceServiceFactory
RenameTracking\MockPreviewDialogService.cs (1)
16internal class MockPreviewDialogService : IPreviewDialogService, IWorkspaceServiceFactory
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (1)
18internal sealed class TestFormattingRuleFactoryServiceFactory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (4)
Utilities\GoToHelpers\MockDocumentNavigationServiceFactory.vb (1)
13Implements IWorkspaceServiceFactory
Utilities\GoToHelpers\MockSymbolNavigationServiceFactory.vb (1)
13Implements IWorkspaceServiceFactory
Utilities\MockDocumentNavigationServiceProvider.vb (1)
18Implements IWorkspaceServiceFactory
Utilities\MockSymbolNavigationServiceProvider.vb (1)
20Implements IWorkspaceServiceFactory
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
Interactive\InteractiveDocumentNavigationServiceFactory.cs (1)
15internal sealed class InteractiveDocumentNavigationServiceFactory : IWorkspaceServiceFactory
Interactive\InteractiveGlobalUndoServiceFactory.cs (1)
18internal sealed class InteractiveGlobalUndoServiceFactory : IWorkspaceServiceFactory
Interactive\InteractiveTextUndoHistoryWorkspaceServiceFactory.cs (1)
18internal sealed class InteractiveTextUndoHistoryWorkspaceServiceFactory : IWorkspaceServiceFactory
NavigateTo\DefaultNavigateToPreviewServiceFactory.cs (1)
15internal sealed class DefaultNavigateToPreviewServiceFactory : IWorkspaceServiceFactory
Notification\EditorNotificationServiceFactory.cs (1)
18internal class EditorNotificationServiceFactory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.Features (7)
CodeLens\CodeLensReferencesServiceFactory.cs (1)
15internal sealed class CodeLensReferencesServiceFactory : IWorkspaceServiceFactory
CodeRefactorings\ServicesLayerCodeActionHelpersService.cs (1)
15internal sealed class ServicesLayerCodeActionHelpersService : IWorkspaceServiceFactory
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionCacheServiceFactory.cs (1)
18internal abstract class AbstractImportCompletionCacheServiceFactory<TProjectCacheEntry, TMetadataCacheEntry> : IWorkspaceServiceFactory
ExternalAccess\UnitTesting\UnitTestingStackTraceServiceAccessorFactory.cs (1)
17internal sealed class UnitTestingStackTraceServiceAccessorFactory : IWorkspaceServiceFactory
MetadataAsSource\SymbolMappingServiceFactory.cs (1)
17internal sealed class SymbolMappingServiceFactory : IWorkspaceServiceFactory
Navigation\DefaultSymbolNavigationServiceFactory.cs (1)
15internal sealed class DefaultSymbolNavigationServiceFactory : IWorkspaceServiceFactory
Workspace\CompileTimeSolutionProvider.cs (1)
29private sealed class Factory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\MetadataService.cs (1)
12internal sealed class MetadataServiceFactory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.Remote.Workspaces (1)
SolutionAssetStorageProvider.cs (1)
15internal sealed class Factory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.Workspaces (7)
SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
40internal sealed partial class SemanticModelReuseWorkspaceServiceFactory : IWorkspaceServiceFactory
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceServices\SemanticModelReuse\SemanticModelReuseWorkspaceServiceFactory.cs (1)
14internal sealed partial class SemanticModelReuseWorkspaceServiceFactory : IWorkspaceServiceFactory
Storage\LegacyPersistentStorageService.cs (1)
20internal sealed class Factory : IWorkspaceServiceFactory
Workspace\Host\Documentation\DocumentationProviderServiceFactory.cs (1)
14internal sealed class DocumentationProviderServiceFactory : IWorkspaceServiceFactory
Workspace\Host\ISupportedChangesService.cs (1)
28internal sealed class DefaultSupportedChangesServiceFactory : IWorkspaceServiceFactory
Workspace\Host\Metadata\FrameworkAssemblyPathResolverFactory.cs (1)
12internal sealed class FrameworkAssemblyPathResolverFactory : IWorkspaceServiceFactory
Workspace\Host\Metadata\MetadataServiceFactory.cs (1)
14internal sealed class MetadataServiceFactory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Remote\InProcRemoteHostClientProvider.cs (1)
25internal sealed class Factory : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SourceGeneratorTelemetryCollectorWorkspaceServiceTests.cs (1)
39public class TestSourceGeneratorTelemetryCollectorWorkspaceServiceFactory : IWorkspaceServiceFactory
Microsoft.VisualStudio.LanguageServices (13)
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsWorkspaceServiceFactory.cs (1)
15internal sealed class CommonCodeStyleSettingsWorkspaceServiceFactory : IWorkspaceServiceFactory
EditorConfigSettings\DataProvider\Whitespace\CommonWhitespaceSettingsWorkspaceServiceFactory.cs (1)
15internal sealed class CommonWhitespaceSettingsWorkspaceServiceFactory : IWorkspaceServiceFactory
GenerateType\VisualStudioGenerateTypeOptionsServiceFactory.cs (1)
20internal class VisualStudioGenerateTypeOptionsServiceFactory : IWorkspaceServiceFactory
InlineRename\InlineRenameUndoManager.cs (1)
31internal sealed class VisualStudioInlineRenameUndoManagerServiceFactory : IWorkspaceServiceFactory
NavigateTo\VisualStudioNavigateToPreviewServiceFactory.cs (1)
16internal sealed class VisualStudioNavigateToPreviewServiceFactory : IWorkspaceServiceFactory
Notification\VSNotificationServiceFactory.cs (1)
18internal class VSNotificationServiceFactory : IWorkspaceServiceFactory
PreviewPane\PreviewPaneService.cs (1)
27internal class PreviewPaneService : IPreviewPaneService, IWorkspaceServiceFactory
ProjectSystem\MetadataReferences\VisualStudioFrameworkAssemblyPathResolverFactory.cs (1)
22internal sealed class VisualStudioFrameworkAssemblyPathResolverFactory : IWorkspaceServiceFactory
ProjectSystem\RuleSets\VisualStudioRuleSetManagerFactory.cs (1)
16internal sealed class VisualStudioRuleSetManagerFactory : IWorkspaceServiceFactory
Remote\VisualStudioRemoteHostClientProvider.cs (1)
30internal sealed class Factory : IWorkspaceServiceFactory
Workspace\GlobalUndoServiceFactory.cs (1)
25internal partial class GlobalUndoServiceFactory : IWorkspaceServiceFactory
Workspace\VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory.cs (1)
25internal class VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory : IWorkspaceServiceFactory, IVsSolutionEvents
Workspace\VisualStudioTextUndoHistoryWorkspaceServiceFactory.cs (1)
23internal class VisualStudioTextUndoHistoryWorkspaceServiceFactory : IWorkspaceServiceFactory
41 references to IWorkspaceServiceFactory
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
47var factories = host.GetExports<IWorkspaceServiceFactory, WorkspaceServiceMetadata>()
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (1)
10/// MEF metadata class used for finding <see cref="IWorkspaceService"/> and <see cref="IWorkspaceServiceFactory"/> exports.
Microsoft.CodeAnalysis.EditorFeatures (8)
CodeRefactorings\EditorLayerCodeActionHelpersService.cs (1)
18internal class EditorLayerCodeActionHelpersService(IInlineRenameService renameService) : IWorkspaceServiceFactory
EditAndContinue\ActiveStatementTrackingService.cs (1)
42internal sealed class ServiceFactory(IAsynchronousOperationListenerProvider listenerProvider) : IWorkspaceServiceFactory
Editor\EditorLayerExtensionManager.cs (1)
32[ImportMany] IEnumerable<IExtensionErrorHandler> errorHandlers) : IWorkspaceServiceFactory
EditorConfigSettings\Aggregator\SettingsAggregatorFactory.cs (1)
19IAsynchronousOperationListenerProvider listenerProvider) : IWorkspaceServiceFactory
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsWorkspaceServiceFactory.cs (1)
17internal class AnalyzerSettingsWorkspaceServiceFactory(IDiagnosticAnalyzerService analyzerService) : IWorkspaceServiceFactory
EditorConfigSettings\DataProvider\NamingStyles\NamingStyleSettingsWorkspaceServiceFactory.cs (1)
17internal sealed class NamingStyleSettingsWorkspaceServiceFactory(IGlobalOptionService globalOptions) : IWorkspaceServiceFactory
InlineRename\UndoManagerServiceFactory.cs (1)
24internal class UndoManagerServiceFactory(InlineRenameService inlineRenameService, IGlobalOptionService globalOptionService) : IWorkspaceServiceFactory
Workspaces\TextUndoHistoryWorkspaceServiceFactoryService.cs (1)
19internal class TextUndoHistoryWorkspaceServiceFactoryService(ITextUndoHistoryRegistry textUndoHistoryRegistry) : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (4)
Utilities\GoToHelpers\MockDocumentNavigationServiceFactory.vb (1)
20Public Function CreateService(workspaceServices As HostWorkspaceServices) As IWorkspaceService Implements IWorkspaceServiceFactory.CreateService
Utilities\GoToHelpers\MockSymbolNavigationServiceFactory.vb (1)
20Public Function CreateService(workspaceServices As HostWorkspaceServices) As IWorkspaceService Implements IWorkspaceServiceFactory.CreateService
Utilities\MockDocumentNavigationServiceProvider.vb (1)
27Public Function CreateService(workspaceServices As HostWorkspaceServices) As IWorkspaceService Implements IWorkspaceServiceFactory.CreateService
Utilities\MockSymbolNavigationServiceProvider.vb (1)
29Public Function CreateService(workspaceServices As HostWorkspaceServices) As IWorkspaceService Implements IWorkspaceServiceFactory.CreateService
Microsoft.CodeAnalysis.Features (1)
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (1)
21internal sealed class CodeAnalysisDiagnosticAnalyzerServiceFactory() : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.Workspaces (17)
FindSymbols\SymbolTree\SymbolTreeInfoCacheServiceFactory.cs (1)
17IAsynchronousOperationListenerProvider listenerProvider) : IWorkspaceServiceFactory
Serialization\SerializerService.cs (1)
29internal sealed class Factory() : IWorkspaceServiceFactory
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
47var factories = host.GetExports<IWorkspaceServiceFactory, WorkspaceServiceMetadata>()
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (1)
10/// MEF metadata class used for finding <see cref="IWorkspaceService"/> and <see cref="IWorkspaceServiceFactory"/> exports.
Storage\SQLite\v2\SQLitePersistentStorageService.cs (1)
27IAsynchronousOperationListenerProvider asyncOperationListenerProvider) : IWorkspaceServiceFactory
TemporaryStorage\TemporaryStorageService.Factory.cs (1)
19[Import(AllowDefault = true)] IWorkspaceThreadingService? workspaceThreadingService) : IWorkspaceServiceFactory
Workspace\Host\EventListener\IWorkspaceEventListenerProvider.cs (1)
28[ImportMany] IEnumerable<Lazy<IEventListener, EventListenerMetadata>> eventListeners) : IWorkspaceServiceFactory
Workspace\Host\HostLanguageServices.cs (1)
20/// <see cref="IWorkspaceServiceFactory"/>.</para>
Workspace\Host\HostWorkspaceServices.cs (4)
20/// <see cref="IWorkspaceService"/> or <see cref="IWorkspaceServiceFactory"/> instances are provided directly to the 23/// (i.e. instances returned by <see cref="IWorkspaceServiceFactory.CreateService"/>), the <see cref="Workspace"/> 35/// <strong><see cref="IWorkspaceServiceFactory"/> instance constructed externally (e.g. MEF):</strong> Owned by 39/// <strong><see cref="IWorkspaceService"/> instance constructed by <see cref="IWorkspaceServiceFactory"/> within
Workspace\Host\Mef\ExportWorkspaceServiceFactoryAttribute.cs (3)
12/// Use this attribute to declare a <see cref="IWorkspaceServiceFactory"/> implementation for inclusion in a MEF-based workspace. 15/// Declares a <see cref="IWorkspaceServiceFactory"/> implementation for inclusion in a MEF-based workspace. 21public class ExportWorkspaceServiceFactoryAttribute(Type serviceType, string layer = ServiceLayer.Default) : ExportAttribute(typeof(IWorkspaceServiceFactory))
Workspace\Host\Mef\IWorkspaceServiceFactory.cs (1)
12/// Implement a <see cref="IWorkspaceServiceFactory"/> when you want to provide <see cref="IWorkspaceService"/> instances that use other services.
Workspace\ISolutionAnalyzerSetterWorkspaceService.cs (1)
26internal sealed class Factory() : IWorkspaceServiceFactory
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Fakes\MockWorkspaceEventListenerProvider.cs (1)
18internal sealed class MockWorkspaceEventListenerProvider() : IWorkspaceServiceFactory
Remote\TestSerializerService.cs (1)
118internal new sealed class Factory() : IWorkspaceServiceFactory
Microsoft.VisualStudio.LanguageServices (7)
Preview\PreviewService.cs (1)
22internal sealed class PreviewDialogService(SVsServiceProvider serviceProvider) : IPreviewDialogService, IWorkspaceServiceFactory
PreviewPane\PreviewPaneService.cs (1)
38IWorkspaceService IWorkspaceServiceFactory.CreateService(HostWorkspaceServices workspaceServices)
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceManagerFactory.cs (1)
19internal class VisualStudioMetadataReferenceManagerFactory(SVsServiceProvider serviceProvider) : IWorkspaceServiceFactory
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceProviderServiceFactory.cs (1)
16internal sealed class VisualStudioMetadataServiceFactory() : IWorkspaceServiceFactory
ProjectSystem\VisualStudioWorkspaceImpl.SolutionAnalyzerSetterService.cs (1)
22internal sealed class Factory() : IWorkspaceServiceFactory
Workspace\VisualStudioDocumentTrackingServiceFactory.cs (1)
17internal sealed class VisualStudioDocumentTrackingServiceFactory(VisualStudioActiveDocumentTracker activeDocumentTracker) : IWorkspaceServiceFactory
Workspace\VisualStudioWorkspaceStatusServiceFactory.cs (1)
30IAsynchronousOperationListenerProvider listenerProvider) : IWorkspaceServiceFactory