IFileSystemHelper.cs 948 B

123456789101112131415161718192021222324
  1. //------------------------------------------------------------
  2. // Game Framework
  3. // Copyright © 2013-2021 loyalsoft. All rights reserved.
  4. // Homepage: http://www.game7000.com/
  5. // Feedback: http://www.game7000.com/
  6. //------------------------------------------------------------
  7. namespace GameFramework.FileSystem
  8. {
  9. /// <summary>
  10. /// 文件系统辅助器接口。
  11. /// </summary>
  12. public interface IFileSystemHelper
  13. {
  14. /// <summary>
  15. /// 创建文件系统流。
  16. /// </summary>
  17. /// <param name="fullPath">要加载的文件系统的完整路径。</param>
  18. /// <param name="access">要加载的文件系统的访问方式。</param>
  19. /// <param name="createNew">是否创建新的文件系统流。</param>
  20. /// <returns>创建的文件系统流。</returns>
  21. FileSystemStream CreateFileSystemStream(string fullPath, FileSystemAccess access, bool createNew);
  22. }
  23. }