コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SchemaProducer"/> class.
 /// </summary>
 /// <param name="builder">List of the <see cref="ISchemaBuilder"/> instances.</param>
 /// <param name="sinks">List of the <see cref="ISchemaSink"/> instances.</param>
 public SchemaProducer(ISchemaBuilder builder, List <ISchemaSink> sinks)
 {
     this.Builder = builder.ThrowIfNullOrDefault();
     this.Sinks   = sinks.ThrowIfNullOrDefault();
 }
コード例 #2
0
        /// <inheritdoc />
        public ISchemaProducer WithBuilder(ISchemaBuilder builder)
        {
            this.Builder = builder.ThrowIfNullOrDefault();

            return(this);
        }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SchemaProducer"/> class.
 /// </summary>
 /// <param name="builder">List of the <see cref="ISchemaBuilder"/> instances.</param>
 public SchemaProducer(ISchemaBuilder builder)
 {
     this.Builder = builder.ThrowIfNullOrDefault();
     this.Sinks   = new List <ISchemaSink>();
 }