IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..InjectComponent<(Of <(<'TComponent, TInjectAttribute>)>)> Method
Injects the component.
Namespace:
FastMoq.Web.Blazor.InterfacesAssembly: FastMoq.Web (in FastMoq.Web.dll)
Syntax
IMockerBlazorTestHelpers<T> InjectComponent<TComponent, TInjectAttribute>() where TInjectAttribute : Attribute
Function InjectComponent(Of TComponent, TInjectAttribute As Attribute) As IMockerBlazorTestHelpers(Of T)
generic<typename TComponent, typename TInjectAttribute> where TInjectAttribute : Attribute IMockerBlazorTestHelpers<T>^ InjectComponent()
Type Parameters
- TComponent
- The type of the t component.
- TInjectAttribute
- The type of the t inject attribute.