IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..SetElementCheck<(Of <(<'TComponent>)>)> Method

Sets the element check.

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

Syntax


IMockerBlazorTestHelpers<T> SetElementCheck<TComponent>(
	string cssSelector,
	bool isChecked,
	Func<bool> waitFunc,
	Nullable<TimeSpan> waitTimeout,
	Nullable<IRenderedFragment> startingPoint
)
where TComponent : IComponent
Function SetElementCheck(Of TComponent As IComponent) ( _
	cssSelector As String, _
	isChecked As Boolean, _
	waitFunc As Func(Of Boolean), _
	waitTimeout As Nullable(Of TimeSpan), _
	startingPoint As Nullable(Of IRenderedFragment) _
) As IMockerBlazorTestHelpers(Of T)
generic<typename TComponent>
where TComponent : IComponent
IMockerBlazorTestHelpers<T>^ SetElementCheck(
	String^ cssSelector, 
	bool^ isChecked, 
	Func<bool^>^ waitFunc, 
	Nullable<TimeSpan^> waitTimeout, 
	Nullable<IRenderedFragment^> startingPoint
)

Type Parameters

TComponent
The type of the t component.

Parameters

cssSelector
Type: String
The CSS selector.
isChecked
Type: Boolean
if set to true [is checked].
waitFunc
Type: Func<(Of <(<'Boolean>)>)>
The wait function.
waitTimeout
Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.
startingPoint
Type: Nullable<(Of <(<'IRenderedFragment>)>)>
The starting point.

Return Value

IMockerBlazorTestHelpers<T>.

Exceptions


ExceptionCondition
[ArgumentNullException]cssSelector
ElementNotFoundException