Partilhar via


HubEndpointConventionBuilder.Add(Action<EndpointBuilder>) Método

Definição

Adiciona a convenção especificada ao construtor. As convenções são usadas para personalizar EndpointBuilder instâncias.

public:
 virtual void Add(Action<Microsoft::AspNetCore::Builder::EndpointBuilder ^> ^ convention);
public void Add (Action<Microsoft.AspNetCore.Builder.EndpointBuilder> convention);
abstract member Add : Action<Microsoft.AspNetCore.Builder.EndpointBuilder> -> unit
override this.Add : Action<Microsoft.AspNetCore.Builder.EndpointBuilder> -> unit
Public Sub Add (convention As Action(Of EndpointBuilder))

Parâmetros

convention
Action<EndpointBuilder>

A convenção a ser adicionada ao construtor.

Implementações

Aplica-se a