IServerSideBlazorBuilder インターフェイス

定義

Blazor の構成に使用できるビルダー Server-Side。

public interface IServerSideBlazorBuilder : Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder
public interface IServerSideBlazorBuilder
type IServerSideBlazorBuilder = interface
    interface IRazorComponentsBuilder
type IServerSideBlazorBuilder = interface
Public Interface IServerSideBlazorBuilder
Implements IRazorComponentsBuilder
Public Interface IServerSideBlazorBuilder
実装

プロパティ

名前 説明
Services

IServiceCollection を取得します。

明示的なインターフェイスの実装

名前 説明
IRazorComponentsBuilder.Services

Blazor の構成に使用できるビルダー Server-Side。

拡張メソッド

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

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

AddCircuitOptions(IServerSideBlazorBuilder, Action<CircuitOptions>)

回線を構成するためのオプションを追加します。

AddHubOptions(IServerSideBlazorBuilder, Action<HubOptions>)

Server-Side Blazor で使用される SignalR ハブの構成用のハブ オプションを追加します。

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

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

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder, Action<WebAssemblyComponentsOptions>)

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

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

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

RegisterPersistentService<TPersistentService>(IRazorComponentsBuilder, IComponentRenderMode)

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

適用対象