BinarySerializerBuilderCaseResult class

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

Constructors

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

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