Skip to main content
Version: 0.3.x (0.3.0)

Namespace AdCodicem.ValueObjects.Metadata

Classes​

GenericValueObjectJsonConverterFactory

Supplies the System.Text.Json converter of each construction of a generic value object.

GenericValueObjectTypeConverter

Converts each construction of a generic value object to and from text and its underlying value.

KnownValueInfo

A value declared through [KnownValue]: the underlying value, the name of the static property the generator creates for it, and the description the attribute gives it.

ValueObjectDescriptor

Runtime description of a value object type, used by the integrations that only know a .

ValueObjectMessages

The keys and the arguments an application localises the message of a refused value object with: one key per rule code, and the arguments the rules the type declares supply.

ValueObjectRegistry

Process-wide directory of the value object types known to the application.

ValueObjectSchema

The declarative constraints of a value object, captured once at compile time.

ValueObjectXml

Reads, writes and describes a value object in XML, for the IXmlSerializable implementation the generator emits on the value objects of an assembly marked [assembly: ValueObjectXmlSerialization].

Interfaces​

IValueObjectVisitor<TResult>

Receives the type arguments of a value object that a caller knows only by its descriptor, so that the caller closes its own generic code over them at compile time.

Delegates​

BoxedTryCreate

Attempts to build a value object from a boxed underlying value.

BoxedTryParse

Attempts to build a value object from its text representation.