IRazorComponentsBuilder インターフェイス

定義

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

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

プロパティ

名前 説明
Services

IServiceCollection を取得します。

拡張メソッド

名前 説明
AddAuthenticationStateSerialization(IRazorComponentsBuilder, Action<AuthenticationStateSerializationOptions>)

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

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

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

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder, Action<WebAssemblyComponentsOptions>)

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

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

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

RegisterPersistentService<TPersistentService>(IRazorComponentsBuilder, IComponentRenderMode)

Razor コンポーネント ビルダーで、指定したレンダリング モードで永続的なサービスを登録します。

適用対象