TranslationHelpers

Class

Helper methods for translating child nodes using the new TranslationContext.

Namespace: RazorConsole.Core.Rendering.Translation
Assembly: RazorConsole.Core

Definition

public static class TranslationHelpers

Methods

2
NameTypeDescription
TryConvertChildrenToBlockInlineRenderable(IReadOnlyList<VNode>, TranslationContext, out IRenderable?)()BooleanConverts child VNodes to a BlockInlineRenderable
TryConvertChildrenToRenderables(IReadOnlyList<VNode>, TranslationContext, out List<IRenderable>)()BooleanConverts child VNodes to a list of renderables using the new TranslationContext.