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