1 implementation of ITemporaryStorage
Aspire.Hosting (1)
src\Shared\TemporaryStorage.cs (1)
35
internal sealed class TemporaryStorage :
ITemporaryStorage
6 references to ITemporaryStorage
Aspire.Hosting (6)
DistributedApplicationBuilder.cs (1)
397
_innerBuilder.Services.AddSingleton<
ITemporaryStorage
>(temporaryStorage);
src\Shared\TemporaryStorage.cs (2)
33
/// Default <see cref="
ITemporaryStorage
"/> implementation backed by the system temporary directory.
45
/// where <see cref="
ITemporaryStorage
"/> allocates. Allocate storage through an injected instance.
Utils\FileSystemService.cs (3)
17
private readonly
ITemporaryStorage
_temporaryStorage;
24
public FileSystemService(IConfiguration configuration,
ITemporaryStorage
temporaryStorage)
63
internal
ITemporaryStorage
TemporaryStorage => _temporaryStorage;