예제 #1
0
        /// <summary>
        /// Initializes new instance of <see cref=" CouchDBServer"/> class.
        /// </summary>
        /// <param name="handler">CouchDB Handler.</param>
        /// <exception cref="ArgumentNullException">Required parameter is null or empty.</exception>
        internal CouchDBServer(ICouchDBHandler handler)
        {
            if (handler == null)
            {
                throw new ArgumentNullException(nameof(handler));
            }

            _handler = handler;
        }