ComponentEndpointConventionBuilder 类

定义

生成将用于自定义 ComponentHub 实例的约定 EndpointBuilder

public ref class ComponentEndpointConventionBuilder sealed : Microsoft::AspNetCore::Builder::IEndpointConventionBuilder, Microsoft::AspNetCore::Builder::IHubEndpointConventionBuilder
public sealed class ComponentEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder
type ComponentEndpointConventionBuilder = class
    interface IEndpointConventionBuilder
    interface IHubEndpointConventionBuilder
type ComponentEndpointConventionBuilder = class
    interface IHubEndpointConventionBuilder
    interface IEndpointConventionBuilder
Public NotInheritable Class ComponentEndpointConventionBuilder
Implements IEndpointConventionBuilder, IHubEndpointConventionBuilder
继承
ComponentEndpointConventionBuilder
实现

方法

Add(Action<EndpointBuilder>)

将指定约定添加到生成器中。 约定用于自定义 EndpointBuilder 实例。

适用于