NotImplementedExceptionFileSystemBase.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using Lua.IO;
  2. namespace Lua.Tests.Helpers
  3. {
  4. abstract class NotImplementedExceptionFileSystemBase : ILuaFileSystem
  5. {
  6. public virtual bool IsReadable(string path)
  7. {
  8. throw new NotImplementedException();
  9. }
  10. public virtual ValueTask<LuaFileContent> ReadFileContentAsync(string fileName, CancellationToken cancellationToken)
  11. {
  12. throw new NotImplementedException();
  13. }
  14. public virtual ILuaIOStream? Open(string path, LuaFileOpenMode mode, bool throwError)
  15. {
  16. throw new NotImplementedException();
  17. }
  18. public virtual void Rename(string oldName, string newName)
  19. {
  20. throw new NotImplementedException();
  21. }
  22. public virtual void Remove(string path)
  23. {
  24. throw new NotImplementedException();
  25. }
  26. public virtual string DirectorySeparator => Path.DirectorySeparatorChar.ToString();
  27. public virtual string GetTempFileName()
  28. {
  29. throw new NotImplementedException();
  30. }
  31. public virtual ILuaIOStream OpenTempStream ()
  32. {
  33. throw new NotImplementedException();
  34. }
  35. }
  36. }