Table of Contents

Interface IComponentHtmlRenderer

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll

IComponentHtmlRenderer interface

public interface IComponentHtmlRenderer
Extension Methods

Methods

RenderAsync(Type, IDictionary<string, object?>?)

转化成 Html 片段方法

Task<string> RenderAsync(Type type, IDictionary<string, object?>? parameters = null)

Parameters

type Type

Blazor 组件类型

parameters IDictionary<string, object>

Returns

Task<string>

RenderAsync<TComponent>(IDictionary<string, object?>?)

转化成 Html 片段方法

Task<string> RenderAsync<TComponent>(IDictionary<string, object?>? parameters = null) where TComponent : IComponent

Parameters

parameters IDictionary<string, object>

Returns

Task<string>

Type Parameters

TComponent