Michael Smith 7e5160d701 Extracted IFileWriter for OSCADObject.ToFile
Included default implementation for IFileWriter and replaceable reference in Settings.cs
2016-02-23 21:59:17 -08:00

18 lines
369 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OSCADSharp.Scripting
{
internal class DefaultFileWriter : IFileWriter
{
public void WriteAllLines(string path, string[] contents)
{
File.WriteAllLines(path, contents);
}
}
}