1 implementation of IFileSystemService
Aspire.Hosting (1)
Utils\FileSystemService.cs (1)
15
internal sealed class FileSystemService :
IFileSystemService
, IDisposable
31 references to IFileSystemService
Aspire.Hosting (19)
ApplicationModel\AspireStore.cs (2)
16
private readonly
IFileSystemService
_directoryService;
24
public AspireStore(string basePath,
IFileSystemService
directoryService)
ApplicationModel\ProjectResource.cs (2)
167
var
directoryService = ctx.Services.GetRequiredService<
IFileSystemService
>();
ContainerResourceBuilderExtensions.cs (1)
712
var
directoryService = builder.ApplicationBuilder.FileSystemService;
Dashboard\DashboardEventHandlers.cs (1)
43
IFileSystemService
directoryService
Dcp\Locations.cs (2)
10
private readonly
IFileSystemService
_directoryService;
13
public Locations(
IFileSystemService
directoryService)
DistributedApplicationBuilder.cs (4)
103
public
IFileSystemService
FileSystemService => _directoryService;
307
_innerBuilder.Services.AddSingleton<
IFileSystemService
>(sp =>
356
var
directoryService = sp.GetRequiredService<
IFileSystemService
>();
IDistributedApplicationBuilder.cs (1)
157
public
IFileSystemService
FileSystemService => throw new NotImplementedException();
Pipelines\PipelineOutputService.cs (1)
28
public PipelineOutputService(IOptions<PipelineOptions> options,
IFileSystemService
directoryService)
UserSecrets\UserSecretsManagerFactory.cs (4)
29
private readonly
IFileSystemService
_fileSystemService;
31
internal UserSecretsManagerFactory(
IFileSystemService
fileSystemService)
84
private readonly
IFileSystemService
_fileSystemService;
86
public UserSecretsManager(string filePath,
IFileSystemService
fileSystemService)
Utils\FileSystemService.cs (1)
13
/// Default implementation of <see cref="
IFileSystemService
"/>.
Aspire.Hosting.Azure (3)
AzurePublishingContext.cs (2)
124
var
fileSystemService = ServiceProvider.GetRequiredService<
IFileSystemService
>();
Provisioning\Provisioners\BicepProvisioner.cs (1)
29
IFileSystemService
fileSystemService,
Aspire.Hosting.Azure.Tests (1)
AzureBicepProvisionerTests.cs (1)
104
services.GetRequiredService<
IFileSystemService
>(),
Aspire.Hosting.Maui (4)
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
45
IFileSystemService
fileSystemService) : IDistributedApplicationEventingSubscriber
Utilities\MauiEnvironmentHelper.cs (2)
34
IFileSystemService
fileSystemService,
222
IFileSystemService
fileSystemService,
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
45
IFileSystemService
fileSystemService) : IDistributedApplicationEventingSubscriber
Aspire.Hosting.MySql (3)
MySqlBuilderExtensions.cs (3)
265
var
fileSystemService = e.Services.GetRequiredService<
IFileSystemService
>();
380
private static async Task<string> WritePhpMyAdminConfiguration(
IFileSystemService
fileSystemService, IEnumerable<MySqlServerResource> mySqlInstances, CancellationToken cancellationToken)
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
497
new
IFileSystemService
FileSystemService => ((IDistributedApplicationBuilder)this).FileSystemService;