GlobalGameJame/Library/PackageCache/com.unity.ide.rider@1.1.4/Rider/Editor/ProjectGeneration/FileIOProvider.cs

24 lines
451 B
C#
Raw Normal View History

2020-01-31 15:10:04 +00:00
using System;
using System.IO;
using System.Text;
namespace Packages.Rider.Editor {
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);
}
}
}