Class PayloadXmlContribution
The <payload> element: a Scriban
template — referenced by a locator or inline in the content — rendered into the body (the
default), a header or an exchange property; <arg name=… expr=…/> /
<arg name=… value=…/> children feed the template model.
public sealed class PayloadXmlContribution : IXmlElementContribution
Inheritance
Implements
Properties
Kind
The element's kind — metadata for the schema, catalog and editor.
public XmlElementKind Kind { get; }
Spec
The element's public description for the schema, the catalog and the editor. The
public ElementSpec Spec { get; }
Methods
Apply(XElement, IRouteDefinition, XmlParseContext)
Applies the element to the route under construction and returns the current position for
public IRouteDefinition Apply(XElement element, IRouteDefinition current, XmlParseContext context)
Print(XElement, XmlCodeWriter)
Prints the element as the fluent C# it parses into — the third face of the
public void Print(XElement element, XmlCodeWriter code)