コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CouchOptionsBuilder"/> class to further configure a given <see cref="CouchOptions"/>.
        /// </summary>
        /// <param name="options">The options to be configured.</param>
        public CouchOptionsBuilder(CouchOptions options)
        {
            Check.NotNull(options, nameof(options));

            Options = options;
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CouchOptionsBuilder{TContext}"/> class to further configure a given <see cref="CouchOptions{TContext}"/>.
 /// </summary>
 /// <param name="options">The options to be configured.</param>
 public CouchOptionsBuilder(CouchOptions <TContext> options) : base(options)
 {
 }