NotImplementedExceptionFileSystemBase.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 ILuaIOStream OpenTempFileStream()
  32. {
  33. throw new NotImplementedException();
  34. }
  35. }
  36. }