Partilhar via


MvcCoreMvcCoreBuilderExtensions.AddJsonOptions Método

Definição

JsonOptions Configura para o 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>

Um Action para configurar o JsonOptions.

Retornos

O IMvcBuilder.

Aplica-se a