/// <summary> /// Initializes a new instance of the <see cref="WebDAVDiskStoreItem"/> class. /// </summary> /// <param name="parentCollection"> /// The parent <see cref="WebDAVDiskStoreCollection"/> that contains this <see cref="WebDAVDiskStoreItem"/>; /// or <c>null</c> if this is the root <see cref="WebDAVDiskStoreCollection"/>. /// </param> /// <param name="path"> /// The path that this <see cref="WebDAVDiskStoreItem"/> maps to. /// </param> /// <exception cref="ArgumentNullException"> /// <para><paramref name="path"/> is <c>null</c> or empty.</para> /// </exception> protected WebDAVDiskStoreItem(WebDAVDiskStoreCollection parentCollection, string path) { if (StringEx.IsNullOrWhiteSpace(path)) { throw new ArgumentNullException("path"); } _ParentCollection = parentCollection; _Path = path; }
/// <summary> /// Initializes a new instance of the <see cref="WebDAVDiskStoreCollection"/> class. /// </summary> /// <param name="parentCollection"> /// The parent <see cref="WebDAVDiskStoreCollection"/> that contains this <see cref="WebDAVDiskStoreCollection"/>. /// </param> /// <param name="path"> /// The path to the folder on this that this <see cref="WebDAVDiskStoreCollection"/> maps to. /// </param> public WebDAVDiskStoreCollection(WebDAVDiskStoreCollection parentCollection, string path) : base(parentCollection, path) { // Nothing here }
/// <summary> /// Initializes a new instance of the <see cref="WebDAVDiskStoreDocument"/> class. /// </summary> /// <param name="parentCollection">The parent <see cref="WebDAVDiskStoreCollection"/> that contains this <see cref="WebDAVDiskStoreItem"/>; /// or <c>null</c> if this is the root <see cref="WebDAVDiskStoreCollection"/>.</param> /// <param name="path">The path that this <see cref="WebDAVDiskStoreItem"/> maps to.</param> /// <exception cref="ArgumentNullException"><paramref name="path"/> is <c>null</c> or empty.</exception> public WebDAVDiskStoreDocument(WebDAVDiskStoreCollection parentCollection, string path) : base(parentCollection, path) { // Do nothing here }