Table of Contents

Interface IRenderedComponentActivator

Namespace
Bunit.Rendering
Assembly
Bunit.Core.dll

Represents an activator for IRenderedFragmentBase and IRenderedComponentBase<TComponent> types.

public interface IRenderedComponentActivator
Extension Methods

Methods

CreateRenderedComponent<TComponent>(int)

Creates an IRenderedComponentBase<TComponent> with the specified componentId.

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.

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.

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.