RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Route.Xml Show all

redb.Route.Xml

Classes

C AttributeSpec One attribute of a format element — the schema/catalog/editor description.
C CatalogComponent One component in the catalog — everything the editor's property panel shows.
C CatalogOption One endpoint option in the catalog: name, kind, default, secrecy, enum hints, the side that reads it...
C ComponentCatalog The component catalog: built by REFLECTION from what already exists — the
C ElementRegistry The element registry: one name — one contribution, the union of the core set and the
C ElementSpec The public description of one format element: the single source the parser hints,
C RedbRouteBuilderXmlExtensions The DI surface: the same three loading overloads plus context.xml on
C RouteContextXmlExtensions Loading sugar on — the TestKit-style surface
C XmlBeans The runtime half of generated bean registrations: builds an instance the same way the
C XmlCodeGenerator The code generator: a .route.xml document printed as the fluent C# it parses into — the
C XmlCodeWriter The emitting side of the code generator: indentation, fluent-verb lines, literal rules
C XmlContextLoader Loads a context.xml document: the context-level
C XmlParseContext The traversal state one document is parsed with: the registry, the error collector (every
C XmlRouteException Every problem of one document, collected in one pass — file, line and column per entry, so
C XmlRouteLoader Loads .route.xml documents into a through the existing
C XmlRouteLoaderOptions Options of the loader. Extensions are the registration channel for packages.
C XmlRouteSchema The XSD of the route format, GENERATED from the element registry: the parser, the

Interfaces

I IXmlContextContribution A contribution whose element lives at the CONTEXT level, inside <context>
I IXmlElementContribution One XML element of the route format: its name, kind, and the parse action that turns the
I IXmlTopLevelContribution A contribution whose element lives at the container level, beside <route>

Enums

E AttributeType The value kind of one XML attribute — what the schema and the editor say about it.
E CodeGenStyle How the generated C# is shaped.
E XmlElementKind What kind of element a contribution declares. The kind is metadata for the schema and the

redb.Route.Xml.Packaging

Classes

C PackageCheckContext What a sees of the project, and where it reports.
C PackageDocument One route document of the project, loaded with line information.
C PackageFinding One finding of the packaging checks: a hard error or a warning.
C PackageResult The result of building or checking a package.
C PackageTypeResolver The type lookup of the packaging checks with a build output at hand (redb-route-xml check|pack --bin...
C RoutePackage Builds a route package from a project directory (the Tsak-independent half):
C RoutePackageManifest The package manifest: the four fields Tsak modules always had, the three
C RouteProjectResourceResolver Reads a route's file= references from the project on disk by
C RouteProjectScaffold Scaffolds a route project (an ordinary .csproj — VS Code, Visual

Interfaces

I IPackageCheck A check a package of the route format runs over a route project at check and pack time, beside the