Class MarshalDefinition
Leaf definition that serializes the exchange body with an :
by type (Marshal<JsonMessageSerializer>()), by instance (Marshal(new CsvDataFormat(o)))
or by registered content type (Marshal("text/csv")).
public sealed class MarshalDefinition : ProcessorDefinition, IProcessorDefinition
Inheritance
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; }
Methods
CreateProcessor(IRouteContext)
Compile this node into a runtime processor.
public override IProcessor CreateProcessor(IRouteContext context)
Constructors
MarshalDefinition(IMessageSerializer)
A configured serializer instance (per-node options).
MarshalDefinition(string)
A content type resolved in the context's at route build.
MarshalDefinition(Type)
Serializer created from its parameterless constructor at route build.