SchemaBuilderCaseResult class

Represents the outcome of a ISchemaBuilderCase.
AssemblyChr.Avro
NamespaceChr.Avro.Abstract
Signature
public class SchemaBuilderCaseResult
Baseobject

Constructors

SchemaBuilderCaseResult()
Initializes a new instance of the SchemaBuilderCaseResult class.

Properties

ICollection<Exception> Exceptions
Gets or sets Exceptions related to the inapplicability of the case. If Schema is not null, these exceptions should be interpreted as warnings.
Schema Schema
Gets or sets the Schema built by applying the case. If null, the case was not applied successfully.

Methods

SchemaBuilderCaseResult FromException(Exception)
Creates a new SchemaBuilderCaseResult for an unsuccessful outcome.
SchemaBuilderCaseResult FromSchema(Schema)
Creates a new SchemaBuilderCaseResult for an unsuccessful outcome.
Chr.Avro