Compartir a través de


IStartup.ConfigureServices(IServiceCollection) Método

Definición

Registre los servicios en .IServiceCollection

public:
 IServiceProvider ^ ConfigureServices(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public IServiceProvider ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
abstract member ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
Public Function ConfigureServices (services As IServiceCollection) As IServiceProvider

Parámetros

services
IServiceCollection

La interfaz IServiceCollection a la que se van a agregar los servicios.

Devoluciones

Se aplica a