ProjektMWS/Projekt MWS/Library/PackageCache/com.unity.ide.rider@2.0.7/Rider/Editor/ProjectGeneration/FileIOProvider.cs
2021-06-28 19:31:12 +02:00

23 lines
455 B
C#

using System.IO;
using System.Text;
namespace Packages.Rider.Editor.ProjectGeneration {
class FileIOProvider : IFileIO
{
public bool Exists(string fileName)
{
return File.Exists(fileName);
}
public string ReadAllText(string fileName)
{
return File.ReadAllText(fileName);
}
public void WriteAllText(string fileName, string content)
{
File.WriteAllText(fileName, content, Encoding.UTF8);
}
}
}