using System; using System.Web; namespace WebDAVSharp.Server.Stores.BaseClasses { /// /// This is the base class for implementations. /// public class WebDavStoreDocumentBase : WebDavStoreItemBase { /// /// Initializes a new instance of the class. /// /// The parent that contains this implementation. /// The name of this /// is null. protected WebDavStoreDocumentBase(IWebDavStoreCollection parentCollection, string name) : base(parentCollection, name) { } #region IWebDAVStoreItem Members /// /// Gets or sets the mime type of this . /// /// /// The type of the MIME. /// public string MimeType { get { return MimeMapping.GetMimeMapping(Name); } } #endregion } }