1 implementation of ITextFactoryService
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\TextFactory\TextFactoryService.cs (1)
17
internal sealed class TextFactoryService :
ITextFactoryService
14 references to ITextFactoryService
Microsoft.CodeAnalysis.Workspaces (14)
Serialization\SerializableSourceText.cs (1)
175
ITextFactoryService
textService,
Serialization\SerializerService.cs (2)
44
private readonly
ITextFactoryService
_textService = workspaceServices.GetRequiredService<
ITextFactoryService
>();
Shared\Extensions\SourceTextExtensions.cs (1)
225
public static SourceText ReadFrom(
ITextFactoryService
textService, ObjectReader reader, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm, CancellationToken cancellationToken)
TemporaryStorage\TemporaryStorageService.cs (2)
53
private readonly
ITextFactoryService
_textFactory;
90
private TemporaryStorageService(IWorkspaceThreadingService? workspaceThreadingService,
ITextFactoryService
textFactory)
TemporaryStorage\TemporaryStorageService.Factory.cs (2)
29
var
textFactory = workspaceServices.GetRequiredService<
ITextFactoryService
>();
Workspace\Host\HostWorkspaceServices.cs (2)
120
internal virtual
ITextFactoryService
TextFactory
122
get { 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.
20
private readonly
ITextFactoryService
_textFactory;
27
_textFactory = services.GetRequiredService<
ITextFactoryService
>();