2 implementations of IFileSystem
Microsoft.Arcade.Common (1)
FileSystem.cs (1)
10public class FileSystem : IFileSystem
Microsoft.Arcade.Test.Common (1)
MockFileSystem.cs (1)
11public class MockFileSystem : IFileSystem
49 references to IFileSystem
Microsoft.DotNet.Build.Tasks.Feed (9)
src\BuildModelFactory.cs (2)
58private readonly IFileSystem _fileSystem; 65IFileSystem fileSystem,
src\GenerateBuildManifest.cs (2)
113collection.TryAddSingleton<IFileSystem, FileSystem>(); 117public bool ExecuteTask(IFileSystem fileSystem,
src\PublishArtifactsInManifest.cs (3)
230private IFileSystem _fileSystem; 242collection.TryAddSingleton<IFileSystem, FileSystem>(); 247IFileSystem fileSystem)
src\PushToBuildStorage.cs (2)
98collection.TryAddSingleton<IFileSystem, FileSystem>(); 104public bool ExecuteTask(IFileSystem fileSystem,
Microsoft.DotNet.Build.Tasks.Feed.Tests (19)
BuildModelFactoryTests.cs (1)
58.AddSingleton<IFileSystem, FileSystem>()
GenerateBuildManifestTests.cs (2)
55Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>();
PublishArtifactsInManifestTests.cs (1)
48.AddSingleton<IFileSystem, FileSystem>()
PushToBuildStorageTests.cs (15)
82Mock<IFileSystem> fileSystemMock = new(); 207Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>(); 238Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>(); 270Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>(); 319Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>(); 367Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>(); 416Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>(); 520Mock<IFileSystem> fileSystemMock = new Mock<IFileSystem>();
Microsoft.DotNet.Helix.Sdk (15)
CreateXHarnessAndroidWorkItems.cs (3)
49collection.TryAddTransient<IFileSystem, FileSystem>(); 58public bool ExecuteTask(IZipArchiveManager zipArchiveManager, IFileSystem fileSystem) 72private async Task<ITaskItem> PrepareWorkItem(IZipArchiveManager zipArchiveManager, IFileSystem fileSystem, ITaskItem appPackage)
CreateXHarnessAppleWorkItems.cs (4)
68collection.TryAddTransient<IFileSystem, FileSystem>(); 80IFileSystem fileSystem) 96IFileSystem fileSystem, 198IFileSystem fileSystem,
InstallDotNetTool.cs (2)
83collection.TryAddTransient<IFileSystem, FileSystem>(); 88public bool ExecuteTask(ICommandFactory commandFactory, IFileSystem fileSystem, IHelpers helpers)
ProvisioningProfileProvider.cs (4)
53private readonly IFileSystem _fileSystem; 64IFileSystem fileSystem, 238collection.TryAddTransient<IFileSystem, FileSystem>(); 247serviceProvider.GetRequiredService<IFileSystem>(),
XharnessTaskBase.cs (2)
123IFileSystem fileSystem, 186public static (string WorkItemName, string AppPath) GetNameAndPath(ITaskItem item, string pathMetadataName, IFileSystem fileSystem)
Microsoft.DotNet.Helix.Sdk.Tests (6)
CreateXHarnessAndroidWorkItemsTests.cs (1)
256collection.AddSingleton<IFileSystem>(_fileSystem);
CreateXHarnessAppleWorkItemsTests.cs (1)
329collection.AddSingleton<IFileSystem>(_fileSystem);
InstallDotNetToolTests.cs (4)
27private readonly Mock<IFileSystem> _fileSystemMock; 48_fileSystemMock = new Mock<IFileSystem>(); 208var fileSystemMock1 = new Mock<IFileSystem>(); 213var fileSystemMock2 = new Mock<IFileSystem>();