NotImplementedExceptionFileSystemBase.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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<ILuaStream> Open(string path, LuaFileOpenMode mode, CancellationToken cancellationToken)
  11. {
  12. throw new NotImplementedException();
  13. }
  14. public virtual ValueTask Rename(string oldName, string newName, CancellationToken cancellationToken)
  15. {
  16. throw new NotImplementedException();
  17. }
  18. public virtual ValueTask Remove(string path, CancellationToken cancellationToken)
  19. {
  20. throw new NotImplementedException();
  21. }
  22. public virtual string DirectorySeparator => Path.DirectorySeparatorChar.ToString();
  23. public virtual string GetTempFileName()
  24. {
  25. throw new NotImplementedException();
  26. }
  27. public ValueTask<ILuaStream> OpenTempFileStream(CancellationToken cancellationToken)
  28. {
  29. throw new NotImplementedException();
  30. }
  31. }
  32. }