IRazorComponentsBuilder インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 コンポーネント ビルダーで、指定したレンダリング モードで永続的なサービスを登録します。 |