using System.IO; namespace WebDAVSharp.Server.Stores { /// /// This interface must be implemented by classes that will function as a store document. /// public interface IWebDavStoreDocument : IWebDavStoreItem { /// /// Opens a object for the document, in read-only mode. /// /// /// The object that can be read from. /// Stream OpenReadStream(); /// /// Opens a object for the document, in write-only mode. /// /// /// A value indicating whether to append to the existing document; /// if /// false, the existing content will be dropped. /// /// /// The object that can be written to. /// Stream OpenWriteStream(bool append); } }