Class RenderedComponentActivator
Represents a rendered component activator for bUnit.web.
public sealed class RenderedComponentActivator : IRenderedComponentActivator
- Inheritance
-
RenderedComponentActivator
- Implements
- Inherited Members
- Extension Methods
Constructors
RenderedComponentActivator(IServiceProvider)
Initializes a new instance of the RenderedComponentActivator class.
public RenderedComponentActivator(IServiceProvider services)
Parameters
servicesIServiceProvider
Methods
CreateRenderedComponent<TComponent>(int)
Creates an IRenderedComponentBase<TComponent> with the specified componentId.
public IRenderedComponentBase<TComponent> CreateRenderedComponent<TComponent>(int componentId) where TComponent : IComponent
Parameters
componentIdint
Returns
- IRenderedComponentBase<TComponent>
Type Parameters
TComponent
CreateRenderedComponent<TComponent>(int, TComponent, RenderTreeFrameDictionary)
Creates an IRenderedComponentBase<TComponent> with the specified componentId,
component, and componentFrames.
public IRenderedComponentBase<TComponent> CreateRenderedComponent<TComponent>(int componentId, TComponent component, RenderTreeFrameDictionary componentFrames) where TComponent : IComponent
Parameters
componentIdintcomponentTComponentcomponentFramesRenderTreeFrameDictionary
Returns
- IRenderedComponentBase<TComponent>
Type Parameters
TComponent
CreateRenderedFragment(int)
Creates an IRenderedFragmentBase with the specified componentId.
public IRenderedFragmentBase CreateRenderedFragment(int componentId)
Parameters
componentIdint