MockerBlazorTestBase<(Of <(<'T>)>)>..::..InjectComponent<(Of <(<'TComponent, TInjectAttribute>)>)> Method
Injects the component.
Namespace:
FastMoq.Web.BlazorAssembly: FastMoq.Web (in FastMoq.Web.dll)
Syntax
public IMockerBlazorTestHelpers<T> InjectComponent<TComponent, TInjectAttribute>() where TInjectAttribute : Attribute
Public Function InjectComponent(Of TComponent, TInjectAttribute As Attribute) As IMockerBlazorTestHelpers(Of T)
public: 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.