123456789101112131415161718192021 |
- namespace XRTool.Util
- {
- /// <summary>
- /// 文件流类,封装IO读写方法,避免频繁的读写文件
- /// </summary>
- public class FileStramHelper
- {
- /// <summary>
- /// 文件读写流
- /// </summary>
- private string filePath;
- /// <summary>
- /// 创建一个文件读写流
- /// </summary>
- /// <param name="filePath"></param>
- public FileStramHelper(string filePath)
- {
- this.filePath = filePath;
- }
- }
- }
|