Table of Contents

Class RenderedComponentActivator

Namespace
Bunit.Rendering
Assembly
Bunit.Web.dll

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

services IServiceProvider

Methods

CreateRenderedComponent<TComponent>(int)

Creates an IRenderedComponentBase<TComponent> with the specified componentId.

public IRenderedComponentBase<TComponent> CreateRenderedComponent<TComponent>(int componentId) where TComponent : IComponent

Parameters

componentId int

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

componentId int
component TComponent
componentFrames RenderTreeFrameDictionary

Returns

IRenderedComponentBase<TComponent>

Type Parameters

TComponent

CreateRenderedFragment(int)

Creates an IRenderedFragmentBase with the specified componentId.

public IRenderedFragmentBase CreateRenderedFragment(int componentId)

Parameters

componentId int

Returns

IRenderedFragmentBase
Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.