JsonSerializerBuilderCaseResult class

Represents the outcome of a ISerializerBuilderCase<,>.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Serialization
Signature
public class JsonSerializerBuilderCaseResult
Baseobject

Constructors

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

Properties

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

Methods

JsonSerializerBuilderCaseResult FromException(Exception)
Creates a new JsonSerializerBuilderCaseResult for an unsuccessful outcome.
JsonSerializerBuilderCaseResult FromExpression(Expression)
Creates a new JsonSerializerBuilderCaseResult for an unsuccessful outcome.
Chr.Avro