Share via


IRazorComponentsBuilder 介面

定義

可用來設定 Razor 元件的建立器。

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

屬性

Services

取得 IServiceCollection

擴充方法

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

新增服務以支援在 razor 元件應用程式中轉譯互動式伺服器元件。

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

新增服務以支援轉譯互動式 WebAssembly 元件。

適用於