Class RedbContextXmlContribution

Assembly: redb.Route.Core.dll

The <redb> block of context.xml: scheme synchronization at context
startup and named idempotent repositories — the context-level face of the bridge.

public sealed class RedbContextXmlContribution : IXmlContextContribution, IXmlElementContribution

Inheritance

Object→RedbContextXmlContribution

Implements

Properties

Kind

The element's kind — metadata for the schema, catalog and editor.

public XmlElementKind Kind { get; }

Name

The element's local name (to, filter). Case-sensitive, camelCase.

public string Name { 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)

ApplyContext(XElement, RouteContext, XmlParseContext)

Applies the context-level element to the context being configured.

public void ApplyContext(XElement element, RouteContext context, XmlParseContext parseContext)