Class UnmarshalDefinition

Assembly: redb.Route.dll

Leaf definition that deserializes the exchange body to with an
chosen by type, by instance or by registered content type.

public sealed class UnmarshalDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→UnmarshalDefinition

Implements

Inherited Members

Properties

ContentType

Content type used for registry resolution, when the node was declared that way (XML form format=).

public string? ContentType { get; }

TargetType

CLR type the body is deserialized to.

public Type TargetType { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors

UnmarshalDefinition(IMessageSerializer, Type)

A configured serializer instance (per-node options).

UnmarshalDefinition(string, Type)

A content type resolved in the context's at route build.

UnmarshalDefinition(Type, Type)

Serializer created from its parameterless constructor at route build.