MvcViewFeaturesMvcCoreBuilderExtensions.AddViews Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddViews(IMvcCoreBuilder) |
Agregar servicios relacionados con la vista. |
AddViews(IMvcCoreBuilder, Action<MvcViewOptions>) |
Agregar servicios relacionados con la vista. |
AddViews(IMvcCoreBuilder)
Agregar servicios relacionados con la vista.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViews (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddViews : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViews (builder As IMvcCoreBuilder) As IMvcCoreBuilder
Parámetros
- builder
- IMvcCoreBuilder
Devoluciones
Se aplica a
AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)
Agregar servicios relacionados con la vista.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViews (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.MvcViewOptions> setupAction);
static member AddViews : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.MvcViewOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViews (builder As IMvcCoreBuilder, setupAction As Action(Of MvcViewOptions)) As IMvcCoreBuilder
Parámetros
- builder
- IMvcCoreBuilder
- setupAction
- Action<MvcViewOptions>
Acción de configuración de MvcViewOptions.