Partilhar via


MvcJsonMvcCoreBuilderExtensions.AddJsonOptions Método

Definição

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

Parâmetros

builder
IMvcCoreBuilder
setupAction
Action<MvcJsonOptions>

Retornos

Aplica-se a