ITranslationMiddleware
InterfaceDefines a middleware component in the translation pipeline that converts VNode instances into IRenderable instances.
Namespace:
RazorConsole.Core.Abstractions.RenderingAssembly:
RazorConsole.CoreDefinition
public interface ITranslationMiddlewareRemarks:The translation pipeline uses a chain-of-responsibility pattern where multiple middleware components are registered and executed in order. Each middleware can either: Handle the node and return an IRenderable directly, stopping the chain. Delegate to the next middleware by calling TranslationDelegate.
Methods
1| Name | Type | Description |
|---|---|---|
Translate(TranslationContext, TranslationDelegate, VNode)() | IRenderable | Translates a virtual DOM node into a IRenderable |