Compartir a través de


MvcCoreMvcCoreBuilderExtensions.AddJsonOptions Método

Definición

JsonOptions Configura para el especificadobuilder.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddJsonOptions (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.JsonOptions> configure);
static member AddJsonOptions : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.JsonOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddJsonOptions (builder As IMvcCoreBuilder, configure As Action(Of JsonOptions)) As IMvcCoreBuilder

Parámetros

configure
Action<JsonOptions>

Action para configurar la instancia de JsonOptions.

Devoluciones

IMvcBuilder.

Se aplica a