2 implementations of WriteToFile
Microsoft.Arcade.Common (1)
FileSystem.cs (1)
30
public void
WriteToFile
(string path, string content)
Microsoft.Arcade.Test.Common (1)
MockFileSystem.cs (1)
55
public void
WriteToFile
(string path, string content) => Files[path] = content;
10 references to WriteToFile
Microsoft.DotNet.Build.Tasks.Feed (2)
src\BuildModelFactory.cs (1)
126
_fileSystem.
WriteToFile
(assetManifestPath, model.ToXml().ToString(SaveOptions.DisableFormatting));
src\GenerateBuildManifest.cs (1)
151
fileSystem.
WriteToFile
(OutputPath, buildModel.ToXml().ToString());
Microsoft.DotNet.Build.Tasks.Feed.Tests (8)
GenerateBuildManifestTests.cs (1)
58
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
PushToBuildStorageTests.cs (7)
210
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
241
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
274
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
323
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
371
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
420
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
524
fileSystemMock.Setup(m => m.
WriteToFile
(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();