/// <summary> /// Initializes a new instance of the <see cref="Folder" /> class. /// </summary> /// <param name="foldersCount">Number of folders.</param> /// <param name="filesCount">Number of files.</param> /// <param name="name">Folder name.</param> /// <param name="size">Folder size.</param> /// <param name="fullPath">Full folder path.</param> /// <param name="publicLink">Public folder link.</param> public Folder(int foldersCount, int filesCount, /*string name,*/ FileSize size, string fullPath, string publicLink = null) { this.NumberOfFolders = foldersCount; this.NumberOfFiles = filesCount; //this.Name = name; this.Size = size; this.FullPath = fullPath; this.PublicLink = publicLink; }
public File(string fullPath, long size, FileType fileType, string hash) { FullPath = fullPath; Size = new FileSize { DefaultValue = size }; Type = fileType; Hash = hash; }