Class RouteBuilderModule
Adapter wrapping an IRouteBuilder implementation as an ITsakModule.
During Initialize a is registered with the context via
AddRoutes so its routes are actually compiled at Start (issue #3).
public class RouteBuilderModule : ITsakModule
Inheritance
Implements
Properties
CanInitialize
Whether the module can be initialized (all deps met, no errors).
public bool CanInitialize { get; }
Dependencies
Names of modules this module depends on.
public IReadOnlyList<string> Dependencies { get; }
SourceDirectory
Directory where the module's DLL was loaded from.
public string? SourceDirectory { get; }
Methods
Initialize(IRouteContext)
Initializes routes in the given context, synchronously. The coordinator reaches it through the
public IRouteContext Initialize(IRouteContext context)