Class RouteDescriber
Renders a definition tree as stable, diffable, human-readable text: one
line per node — the node kind and its significant parameters — children indented beneath.
Three consumers share it: XML-vs-C# equivalence tests, the code generator's round-trip
check, and the Mermaid renderer, so it is deliberately generic: parameters come from the
definition's own fields by reflection (cold path), never from a hand-kept switch that would
drift from the definition set.
public static class RouteDescriber
Inheritance
Methods
Describe(IEnumerable<IProcessorDefinition>)
Describes every route of a context, in registration order.
public static string Describe(IEnumerable<IProcessorDefinition> roots)
Describe(IProcessorDefinition)
Describes one definition tree. Two equal trees produce byte-equal text.
public static string Describe(IProcessorDefinition root)
Remarks
What a line shows: strings, numbers, booleans, enums, s, types,
expressions (their template text) and string collections — sorted by name for determinism.
What it never shows: delegates, live objects, hash codes — things that legitimately differ
between two constructions of the same route. A condition is rendered through
, the text the author wrote.