コード例 #1
0
 public ISchemaValidator WithSchemaConsumer(ISchemaConsumer consumer)
 {
     throw new System.NotImplementedException();
 }
コード例 #2
0
        /// <inheritdoc />
        public virtual ISchemaValidator WithSchemaConsumer(ISchemaConsumer consumer)
        {
            this.Consumer = consumer.ThrowIfNullOrDefault();

            return(this);
        }
        /// <summary>
        /// Adds the <see cref="ISchemaConsumer"/> to the exception.
        /// </summary>
        /// <param name="consumer"><see cref="ISchemaConsumer"/> instance.</param>
        /// <returns>Returns the <see cref="SchemaNotFoundException"/>.</returns>
        public virtual SchemaNotFoundException WithSchemaConsumer(ISchemaConsumer consumer)
        {
            this.Consumer = consumer.ThrowIfNullOrDefault();

            return(this);
        }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SchemaValidator"/> class.
 /// </summary>
 /// <param name="consumer"><see cref="ISchemaConsumer"/> instance.</param>
 public SchemaValidator(ISchemaConsumer consumer)
     : this()
 {
     this.Consumer = consumer.ThrowIfNullOrDefault();
 }