using System; using System.IO; using Graph.Interfaces; namespace Graph.IO { public class FileWriter : IFileWriter { string FilePath { get; } public FileWriter(string filePath) { FilePath = filePath; } public void WriteAllText(string content) { File.WriteAllText(FilePath, content); } } }