Compartir a través de


MvcCoreMvcCoreBuilderExtensions.AddControllersAsServices Método

Definición

Registra los controladores detectados como servicios en .IServiceCollection

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddControllersAsServices (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddControllersAsServices : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddControllersAsServices (builder As IMvcCoreBuilder) As IMvcCoreBuilder

Parámetros

Devoluciones

IMvcCoreBuilder.

Se aplica a