IRazorComponentsBuilder 接口

定义

可用于配置 Razor 组件的生成器。

public interface IRazorComponentsBuilder
type IRazorComponentsBuilder = interface
Public Interface IRazorComponentsBuilder
派生

属性

Services

获取 IServiceCollection

扩展方法

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

添加服务以支持在 razor 组件应用程序中呈现交互式服务器组件。

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

添加服务以支持呈现交互式 WebAssembly 组件。

适用于