RazorComponentsEndpointConventionBuilder クラス

定義

EndpointBuilder インスタンスのカスタマイズに使用される規則をビルドします。

public sealed class RazorComponentsEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
type RazorComponentsEndpointConventionBuilder = class
    interface IEndpointConventionBuilder
Public NotInheritable Class RazorComponentsEndpointConventionBuilder
Implements IEndpointConventionBuilder
継承
RazorComponentsEndpointConventionBuilder
実装

メソッド

名前 説明
Add(Action<EndpointBuilder>)

指定した規則をビルダーに追加します。 規則は、 EndpointBuilder インスタンスをカスタマイズするために使用されます。

Finally(Action<EndpointBuilder>)

によって登録された規則の後に、指定された実行規則を登録します。 Add(Action<EndpointBuilder>)

拡張メソッド

名前 説明
AddAdditionalAssemblies(RazorComponentsEndpointConventionBuilder, Assembly[])

指定された追加のアセンブリをコンポーネント アプリケーションに追加します。

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Blazor Hub を既定のパスにマップします。

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

InteractiveServer レンダリング モードをサポートするようにアプリケーションを構成します。

AddInteractiveWebAssemblyRenderMode(RazorComponentsEndpointConventionBuilder, Action<WebAssemblyComponentsEndpointOptions>)

InteractiveWebAssembly レンダリング モードをサポートするようにアプリケーションを構成します。

DisableRequestTimeout(IEndpointConventionBuilder)

エンドポイントの要求タイムアウトを無効にします。

ShortCircuit(IEndpointConventionBuilder, Nullable<Int32>)

エンドポイントをショートサーキットします。 エンドポイントの実行は、UseEndpoint ではなく UseRouting ミドルウェアで行われます。

WithBrowserConfiguration(RazorComponentsEndpointConventionBuilder, Action<BrowserConfiguration>)

すべての Razor コンポーネント エンドポイントの DOM コメントとしてブラウザーに出力される BrowserConfiguration を構成します。

WithRequestTimeout(IEndpointConventionBuilder, RequestTimeoutPolicy)

エンドポイントに対するタイムアウト ポリシーを指定します。

WithRequestTimeout(IEndpointConventionBuilder, String)

エンドポイントに対するタイムアウト ポリシーを指定します。

WithRequestTimeout(IEndpointConventionBuilder, TimeSpan)

エンドポイントのタイムアウトを指定します。

WithStaticAssets(RazorComponentsEndpointConventionBuilder, String)

コンポーネント アプリケーションの ResourceAssetCollection および ImportMapDefinition メタデータを設定します。

適用対象