/// <summary> /// Initializes a new instance of the <see cref="Folder" /> class. /// </summary> /// <param name="size">Folder size.</param> /// <param name="fullPath">Full folder path.</param> /// <param name="publicLinks">Public folder link.</param> public Folder(FileSize size, string fullPath, IEnumerable <PublicLinkInfo> publicLinks = null) : this(fullPath) { Size = size; if (null != publicLinks) { PublicLinks.AddRange(publicLinks); } }
/// <summary> /// Initializes a new instance of the <see cref="Folder" /> class. /// </summary> /// <param name="size">Folder size.</param> /// <param name="fullPath">Full folder path.</param> /// <param name="publicLink">Public folder link.</param> public Folder(FileSize size, string fullPath, string publicLink = null) : this(fullPath) { Size = size; PublicLink = publicLink; }