MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddFormatterMappings(IMvcCoreBuilder) |
Adiciona serviços para dar suporte FormatterMappingsa . |
AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>) |
FormatterMappings Configura para o especificado |
AddFormatterMappings(IMvcCoreBuilder)
Adiciona serviços para dar suporte FormatterMappingsa .
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddFormatterMappings (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddFormatterMappings : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddFormatterMappings (builder As IMvcCoreBuilder) As IMvcCoreBuilder
Parâmetros
- builder
- IMvcCoreBuilder
O IMvcBuilder.
Retornos
O IMvcBuilder.
Aplica-se a
AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)
FormatterMappings Configura para o especificadosetupAction
.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddFormatterMappings (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings> setupAction);
static member AddFormatterMappings : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddFormatterMappings (builder As IMvcCoreBuilder, setupAction As Action(Of FormatterMappings)) As IMvcCoreBuilder
Parâmetros
- builder
- IMvcCoreBuilder
- setupAction
- Action<FormatterMappings>
Um Action para configurar o FormatterMappings.
Retornos
O IMvcBuilder.