1 implementation of ITextFactoryService
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\TextFactory\TextFactoryService.cs (1)
17internal sealed class TextFactoryService : ITextFactoryService
14 references to ITextFactoryService
Microsoft.CodeAnalysis.Workspaces (14)
Serialization\SerializableSourceText.cs (1)
175ITextFactoryService textService,
Serialization\SerializerService.cs (2)
44private readonly ITextFactoryService _textService = workspaceServices.GetRequiredService<ITextFactoryService>();
Shared\Extensions\SourceTextExtensions.cs (1)
225public static SourceText ReadFrom(ITextFactoryService textService, ObjectReader reader, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm, CancellationToken cancellationToken)
TemporaryStorage\TemporaryStorageService.cs (2)
53private readonly ITextFactoryService _textFactory; 90private TemporaryStorageService(IWorkspaceThreadingService? workspaceThreadingService, ITextFactoryService textFactory)
TemporaryStorage\TemporaryStorageService.Factory.cs (2)
29var textFactory = workspaceServices.GetRequiredService<ITextFactoryService>();
Workspace\Host\HostWorkspaceServices.cs (2)
120internal virtual ITextFactoryService TextFactory 122get { return this.GetRequiredService<ITextFactoryService>(); }
Workspace\Host\TextFactory\TextFactoryService.cs (1)
16[ExportWorkspaceService(typeof(ITextFactoryService), ServiceLayer.Default), Shared]
Workspace\WorkspaceFileTextLoader.cs (3)
15/// <see cref="FileTextLoader"/> that uses workspace services (i.e. <see cref="ITextFactoryService"/>) to load file content. 20private readonly ITextFactoryService _textFactory; 27_textFactory = services.GetRequiredService<ITextFactoryService>();