/// <summary>
        /// Initializes a new instance of the <see cref="HttpListenerContextAdapter"/> class.
        /// </summary>
        /// <param name="context">
        /// The <see cref="HttpListenerContext"/> to adapt for WebDAV#.
        /// </param>
        /// <exception cref="ArgumentNullException">
        /// <para><paramref name="context"/> is <c>null</c>.</para>
        /// </exception>
        public HttpListenerContextAdapter(HttpListenerContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            _Context  = context;
            _Request  = new HttpListenerRequestAdapter(context.Request);
            _Response = new HttpListenerResponseAdapter(context.Response);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="HttpListenerContextAdapter" /> class.
        /// </summary>
        /// <param name="context">The <see cref="HttpListenerContext" /> to adapt for WebDAV#.</param>
        /// <exception cref="System.ArgumentNullException">context</exception>
        /// <exception cref="ArgumentNullException"><paramref name="context" /> is <c>null</c>.</exception>
        public HttpListenerContextAdapter(HttpListenerContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            _context     = context;
            _request     = new HttpListenerRequestAdapter(context.Request);
            _response    = new HttpListenerResponseAdapter(context.Response);
            _contextData = new Dictionary <string, object>();
        }