public FileData(NFSFile file, FolderData parentFolder) : base(parentFolder) { if (file == null) { throw new ArgumentNullException("file"); } this.source = file; this.name = file.Name; this.filename = file.Filename; this.extension = file.Extension; this.size = formatSize(file.Size); }
protected FileTreeItem(FolderData parentFolder) { this.parentFolder = parentFolder; }