Condividi tramite


IEndpointConventionBuilder.Add(Action<EndpointBuilder>) Metodo

Definizione

Aggiunge la convenzione specificata al generatore. Le convenzioni vengono usate per personalizzare EndpointBuilder le istanze.

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))

Parametri

convention
Action<EndpointBuilder>

Convenzione da aggiungere al generatore.

Si applica a