MockerBlazorTestBase<(Of <(<'T>)>)>..::..InjectComponent Method (Type, Type)

Injects the component.

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

Syntax


public IMockerBlazorTestHelpers<T> InjectComponent(
	Type type,
	Type injectAttribute
)
Public Function InjectComponent ( _
	type As Type, _
	injectAttribute As Type _
) As IMockerBlazorTestHelpers(Of T)
public:
IMockerBlazorTestHelpers<T>^ InjectComponent(
	Type^ type, 
	Type^ injectAttribute
)

Parameters

type
Type: Type
The type.
injectAttribute
Type: Type
The inject attribute.

Return Value

IMockerBlazorTestHelpers<T>.