Web/ForgeTrust.Runnable.Web.RazorWire/Bridge/RazorWireBridge.cs

RazorWireBridge

Type

RazorWireBridge

Provides static methods for creating Turbo Frame results and RazorWire stream builders.
Method

Frame(Controller, string, string, object?)

Creates a partial result that renders a turbo frame containing the specified inner partial view and model.
Also exposes the frame identifier by setting controller.ViewData["TurboFrameId"].
Method

FrameComponent(Controller, string, string, object?)

Creates a partial result that renders a Turbo Frame containing the specified view component. The frame identifier is exposed via Controller.ViewData["TurboFrameId"].
Method

CreateStream()

Creates a new for fluidly configuring and producing Turbo Stream actions.
Method

CreateViewContext(this Controller)

Creates a configured to render outside of a regular view using the controller's context and data.
Method

RenderAsync(Microsoft.AspNetCore.Mvc.Rendering.ViewContext)

A no-op view that does not render any content.
Type

TurboFrameViewModel

Data model used for rendering the Turbo Frame partial view.