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