using System;
namespace WebDAVSharp.Server.Stores.BaseClasses {
///
/// This class is a base class for implementations.
///
public abstract class WebDavStoreBase : IWebDavStore {
private readonly IWebDavStoreCollection _root;
///
/// Initializes a new instance of the class.
///
/// The root .
/// root
/// is null.
protected WebDavStoreBase(IWebDavStoreCollection root) {
if (root == null)
throw new ArgumentNullException("root");
_root = root;
}
#region IWebDAVStore Members
///
/// Gets the root collection of this .
///
public IWebDavStoreCollection Root {
get {
return _root;
}
}
#endregion
}
}