public FileEnum(string path, FileEnumFlags flags) { m_flags = flags; m_path = path; m_openForReadHandle = FileSystemManager.AddToOpenListForRead(m_path); m_findFile = new NativeFindFile(m_path, "*"); }
public FileEnum(string path, FileEnumFlags flags) { this.m_flags = flags; this.m_path = path; this.m_openForReadHandle = FileSystemManager.AddToOpenListForRead(this.m_path); this.m_findFile = DriveInfo.GetForPath(this.m_path).Find(this.m_path, "*"); }
public FileEnumerator(string path, FileEnumFlags flags) { this.m_path = Path.GetFullPath(path); this.m_flags = flags; if (!Directory.Exists(this.m_path)) { throw new IOException("", (int)IOException.IOExceptionErrorCode.DirectoryNotFound); } }
public FileEnumerator(string path, FileEnumFlags flags) { m_path = Path.GetFullPath(path); m_flags = flags; if (!Directory.Exists(m_path)) throw new IOException("", (int)IOException.IOExceptionErrorCode.DirectoryNotFound); }