JsonSchemaReaderCaseResult class

Represents the outcome of a ISchemaReaderCase<,>.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Representation
Signature
public class JsonSchemaReaderCaseResult
Baseobject

Constructors

JsonSchemaReaderCaseResult()
Initializes a new instance of the JsonSchemaReaderCaseResult 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

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