1 implementation of IFileSystem
Microsoft.DotNet.InternalAbstractions (1)
FileSystemWrapper.cs (1)
6
internal class FileSystemWrapper :
IFileSystem
16 references to IFileSystem
dotnet-aot (8)
parent\dotnet\CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (2)
16
IFileSystem
? fileSystem = null,
21
private readonly
IFileSystem
_fileSystem = fileSystem ?? new FileSystemWrapper();
parent\dotnet\ToolManifest\ToolManifestEditor.cs (2)
15
internal class ToolManifestEditor(
IFileSystem
fileSystem = null, IDangerousFileDetector dangerousFileDetector = null) : IToolManifestEditor
18
private readonly
IFileSystem
_fileSystem = fileSystem ?? new FileSystemWrapper();
parent\dotnet\ToolManifest\ToolManifestFinder.cs (2)
15
private readonly
IFileSystem
_fileSystem;
23
IFileSystem
fileSystem = null,
parent\dotnet\ToolPackage\LocalToolsResolverCache.cs (2)
19
private readonly
IFileSystem
_fileSystem;
22
public LocalToolsResolverCache(
IFileSystem
fileSystem = null,
Microsoft.DotNet.Configurer (7)
AspNetCertificateSentinel.cs (2)
14
private readonly
IFileSystem
_fileSystem;
25
internal AspNetCertificateSentinel(string dotnetUserProfileFolderPath,
IFileSystem
fileSystem)
FileSentinel.cs (2)
11
private readonly
IFileSystem
_fileSystem;
18
internal FileSentinel(FilePath file,
IFileSystem
? fileSystem)
FirstTimeUseNoticeSentinel.cs (2)
14
private readonly
IFileSystem
_fileSystem;
25
internal FirstTimeUseNoticeSentinel(string dotnetUserProfileFolderPath,
IFileSystem
fileSystem)
IFileExtensions.cs (1)
11
public static void CreateIfNotExists(this
IFileSystem
fileSystem, string filePath)
Microsoft.DotNet.InternalAbstractions (1)
FileSystemWrapper.cs (1)
8
public static
IFileSystem
Default { get; } = new FileSystemWrapper();