IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..RenderComponent Method (Boolean)

Renders the component. If the component is already rendered, it will act like a stateChanged.

Namespace:  FastMoq.Web.Blazor.Interfaces
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


IRenderedComponent<T> RenderComponent(
	bool forceNew
)
Function RenderComponent ( _
	forceNew As Boolean _
) As IRenderedComponent(Of T)
IRenderedComponent<T>^ RenderComponent(
	bool^ forceNew
)

Parameters

forceNew
Type: Boolean
if set to true [force new].

Return Value

IRenderedComponent<T>.

Examples


Render again without losing context. This honors any parameters in the RenderParameters action. />
C#
RenderComponent()

Examples


Force initial render.
C#
RenderComponent(true);