Compartilhar via


IEndpointConventionBuilder.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:
 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
Public Sub Add (convention As Action(Of EndpointBuilder))

Parâmetros

convention
Action<EndpointBuilder>

A convenção a ser adicionada ao construtor.

Aplica-se a