Condividi tramite


ControllerActionEndpointConventionBuilder.Add Metodo

Definizione

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

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

Parametri

convention
Action<EndpointBuilder>

Convenzione da aggiungere al generatore.

Implementazioni

Si applica a