RazorComponentsEndpointConventionBuilder 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立用於自訂 EndpointBuilder 實例的慣例。
public sealed class RazorComponentsEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
type RazorComponentsEndpointConventionBuilder = class
interface IEndpointConventionBuilder
Public NotInheritable Class RazorComponentsEndpointConventionBuilder
Implements IEndpointConventionBuilder
- 繼承
-
RazorComponentsEndpointConventionBuilder
- 實作
方法
| 名稱 | Description |
|---|---|
| Add(Action<EndpointBuilder>) |
將指定的慣例加入至產生器。 慣例用來自訂 EndpointBuilder 實例。 |
| Finally(Action<EndpointBuilder>) |
在透過以下方式註冊後,登錄指定的執行慣例 Add(Action<EndpointBuilder>) |