Esempio n. 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();
 }
Esempio n. 2
0
        /// <inheritdoc />
        public ISchemaProducer WithBuilder(ISchemaBuilder builder)
        {
            this.Builder = builder.ThrowIfNullOrDefault();

            return(this);
        }
Esempio n. 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>();
 }