SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
451 B

4 years ago
  1. using System;
  2. using System.IO;
  3. using System.Text;
  4. namespace Packages.Rider.Editor {
  5. class FileIOProvider : IFileIO
  6. {
  7. public bool Exists(string fileName)
  8. {
  9. return File.Exists(fileName);
  10. }
  11. public string ReadAllText(string fileName)
  12. {
  13. return File.ReadAllText(fileName);
  14. }
  15. public void WriteAllText(string fileName, string content)
  16. {
  17. File.WriteAllText(fileName, content, Encoding.UTF8);
  18. }
  19. }
  20. }