using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Mtp2Dav.WebDAVSharp.Server._1d2086a502937936ebc6bfe19cfa15d855be1c31.Stores; namespace Mtp2Dav.MtpStore._1d2086a502937936ebc6bfe19cfa15d855be1c31 { [DebuggerDisplay("Directory ({ItemPath})")] internal class WebDavMtpStoreCollection : WebDavMtpStoreItem, IWebDavStoreCollection { public WebDavMtpStoreCollection(WebDavMtpStore store, string path) : base(store, path) { } public IEnumerable Items => Store.GetEntries(ItemPath); public IWebDavStoreItem GetItemByName(string name) { return Items.FirstOrDefault(p => p.Name == name); } public override bool IsCollection => true; // -------------------- public IWebDavStoreCollection CreateCollection(string name) { throw new System.NotImplementedException(); } public void Delete(IWebDavStoreItem item) { throw new System.NotImplementedException(); } public IWebDavStoreDocument CreateDocument(string name) { throw new System.NotImplementedException(); } public IWebDavStoreItem CopyItemHere(IWebDavStoreItem source, string destinationName, bool includeContent) { throw new System.NotImplementedException(); } public IWebDavStoreItem MoveItemHere(IWebDavStoreItem source, string destinationName) { throw new System.NotImplementedException(); } } }