Class OtherwiseDefinition

Assembly: redb.Route.dll

The Otherwise (fallback) branch inside a .
Inherits the leaf DSL from ; close with
or .

public class OtherwiseDefinition : RouteDefinitionBase<OtherwiseDefinition>, IRouteDefinition, IProcessorDefinition, IRouteScope, ICompositeScope

Inheritance

Implements

Inherited Members

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

End()

Closes this scope and returns the parent .

public IRouteDefinition End()

EndChoice()

Closes the entire Choice scope and returns the parent route definition.

public IRouteDefinition EndChoice()

EndOtherwise()

Closes this Otherwise branch and returns the parent choice.

public ChoiceDefinition EndOtherwise()