Condividi tramite


MvcCoreMvcCoreBuilderExtensions.AddJsonOptions Metodo

Definizione

JsonOptions Configura per l'oggetto specificatobuilder.

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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcBuilder.

configure
Action<JsonOptions>

Oggetto Action per la configurazione di JsonOptions.

Restituisce

Oggetto IMvcBuilder.

Si applica a