IRazorComponentsBuilder インターフェイス

定義

Razor コンポーネントの構成に使用できるビルダー。

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

プロパティ

Services

IServiceCollectionを取得します。

拡張メソッド

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

Razor コンポーネント アプリケーションでの対話型サーバー コンポーネントのレンダリングをサポートするサービスを追加します。

AddAuthenticationStateSerialization(IRazorComponentsBuilder, Action<AuthenticationStateSerializationOptions>)

クライアント プロジェクトの Microsoft.AspNetCore.Components.WebAssembly.Authentication パッケージから AddAuthenticationStateDeserialization を呼び出すことによって追加できる逆シリアル化クライアント側 AuthenticationStateProvider を介して、対話型の WebAssembly コンポーネントで使用する PersistentComponentState を使用して、サーバー側の AuthenticationStateProvider によって返される AuthenticationState をシリアル化します。

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

対話型 WebAssembly コンポーネントのレンダリングをサポートするサービスを追加します。

適用対象