Beispiel #1
0
 /// <summary>
 /// 打开文件流
 /// </summary>
 /// <param name="mode"></param>
 /// <returns></returns>
 public virtual Stream Open(FileMode mode) => VxPathObject.OpenFile(mode);
Beispiel #2
0
 /// <summary>
 /// 获取所有子文件
 /// </summary>
 /// <param name="pattern"></param>
 /// <returns></returns>
 public IEnumerable <VxFileInfo> GetFiles(string pattern) => VxPathObject.GetFiles(pattern).Select(x => x.GetFile() as VxFileInfo);
Beispiel #3
0
 /// <summary>
 /// 获取所有子对象
 /// </summary>
 /// <param name="pattern"></param>
 /// <returns></returns>
 public IEnumerable <VxIoObject> GetChildren(string pattern) => VxPathObject.GetChildren(pattern).Select(x => x.GetVxIoObject() as VxIoObject);
Beispiel #4
0
 /// <summary>
 /// 获取所有子文件夹
 /// </summary>
 /// <param name="pattern"></param>
 /// <returns></returns>
 public IEnumerable <VxFolderInfo> GetFolders(string pattern) => VxPathObject.GetFolders(pattern).Select(x => x.GetVxIoObject() as VxFolderInfo);