1 implementation of IFileSystem
Microsoft.DotNet.InternalAbstractions (1)
FileSystemWrapper.cs (1)
6
internal class FileSystemWrapper :
IFileSystem
36 references to IFileSystem
dotnet (28)
BuildServer\BuildServerProvider.cs (2)
14
IFileSystem
fileSystem = null,
19
private readonly
IFileSystem
_fileSystem = fileSystem ?? FileSystemWrapper.Default;
BuildServer\RazorPidFile.cs (1)
23
public static RazorPidFile Read(FilePath path,
IFileSystem
fileSystem = null)
BuildServer\RazorServer.cs (2)
14
IFileSystem
fileSystem = null) : IBuildServer
17
private readonly
IFileSystem
_fileSystem = fileSystem ?? FileSystemWrapper.Default;
CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (2)
16
IFileSystem
? fileSystem = null,
21
private readonly
IFileSystem
_fileSystem = fileSystem ?? new FileSystemWrapper();
Commands\Tool\Restore\ToolPackageRestorer.cs (2)
24
private readonly
IFileSystem
_fileSystem;
34
IFileSystem
? fileSystem = null)
Commands\Tool\Restore\ToolRestoreCommand.cs (2)
26
private readonly
IFileSystem
_fileSystem;
38
IFileSystem
fileSystem = null,
ShellShim\ShellShimRepository.cs (2)
15
IFileSystem
fileSystem = null,
20
private readonly
IFileSystem
_fileSystem = fileSystem ?? new FileSystemWrapper();
ToolManifest\ToolManifestEditor.cs (2)
15
internal class ToolManifestEditor(
IFileSystem
fileSystem = null, IDangerousFileDetector dangerousFileDetector = null) : IToolManifestEditor
18
private readonly
IFileSystem
_fileSystem = fileSystem ?? new FileSystemWrapper();
ToolManifest\ToolManifestFinder.cs (2)
15
private readonly
IFileSystem
_fileSystem;
23
IFileSystem
fileSystem = null,
ToolPackage\LocalToolsResolverCache.cs (2)
19
private readonly
IFileSystem
_fileSystem;
22
public LocalToolsResolverCache(
IFileSystem
fileSystem = null,
ToolPackage\ToolConfigurationDeserializer.cs (1)
20
public static ToolConfiguration Deserialize(string pathToXml,
IFileSystem
fileSystem = null)
ToolPackage\ToolPackageDownloaderBase.cs (2)
26
protected readonly
IFileSystem
_fileSystem;
47
IFileSystem
? fileSystem = null
ToolPackage\ToolPackageInstance.cs (4)
38
private
IFileSystem
_fileSystem;
48
IFileSystem
fileSystem = null)
164
DirectoryPath assetsJsonParentDirectory,
IFileSystem
fileSystem)
172
private static ToolConfiguration DeserializeToolConfiguration(LockFileTargetLibrary library, DirectoryPath packageDirectory, PackageId packageId,
IFileSystem
fileSystem)
ToolPackage\ToolPackageStoreAndQuery.cs (2)
11
internal class ToolPackageStoreAndQuery(DirectoryPath root,
IFileSystem
fileSystem = null) : IToolPackageStoreQuery, IToolPackageStore
17
private
IFileSystem
_fileSystem = fileSystem ?? new FileSystemWrapper();
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();