2 implementations of WriteToFile
Microsoft.Arcade.Common (1)
FileSystem.cs (1)
30public void WriteToFile(string path, string content)
Microsoft.Arcade.Test.Common (1)
MockFileSystem.cs (1)
55public 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)
151fileSystem.WriteToFile(OutputPath, buildModel.ToXml().ToString());
Microsoft.DotNet.Build.Tasks.Feed.Tests (8)
GenerateBuildManifestTests.cs (1)
58fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();
PushToBuildStorageTests.cs (7)
210fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable(); 241fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable(); 274fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable(); 323fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable(); 371fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable(); 420fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable(); 524fileSystemMock.Setup(m => m.WriteToFile(Capture.In(actualPath), Capture.In(actualBuildModel))).Verifiable();