MockerBlazorTestBase<(Of <(<'T>)>)>..::..SetElementText Method (IElement, String, Func<(Of <(<'Boolean>)>)>, Nullable<(Of <(<'TimeSpan>)>)>)

Sets the element text.

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

Syntax


public IMockerBlazorTestHelpers<T> SetElementText(
	IElement element,
	string text,
	Func<bool> waitFunc,
	Nullable<TimeSpan> waitTimeout
)
Public Function SetElementText ( _
	element As IElement, _
	text As String, _
	waitFunc As Func(Of Boolean), _
	waitTimeout As Nullable(Of TimeSpan) _
) As IMockerBlazorTestHelpers(Of T)
public:
IMockerBlazorTestHelpers<T>^ SetElementText(
	IElement^ element, 
	String^ text, 
	Func<bool^>^ waitFunc, 
	Nullable<TimeSpan^> waitTimeout
)

Parameters

element
Type: IElement
The element.
text
Type: String
The text.
waitFunc
Type: Func<(Of <(<'Boolean>)>)>
The wait function.
waitTimeout
Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.

Return Value

IMockerBlazorTestHelpers<T>.