public FolderEntry(FolderEntry other) : base(other) { foreach (var entry in other._entries) { _entries.Add(entry.Clone()); } }
public static FolderEntry CreateFolderEntry(string path, AddMethod addMethod) { if (!IsValidFileOrFolder(path)) { return(null); } var folderEntry = new FolderEntry(path, addMethod); return(folderEntry); }