StartupBase<TBuilder>.CreateServiceProvider(IServiceCollection) Metoda

Definice

IServiceProvider Vytvoří instanci pro danou IServiceCollection.

public:
 override IServiceProvider ^ CreateServiceProvider(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public override IServiceProvider CreateServiceProvider (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
override this.CreateServiceProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
Public Overrides Function CreateServiceProvider (services As IServiceCollection) As IServiceProvider

Parametry

services
IServiceCollection

Přidání IServiceCollection služeb do.

Návraty

IServiceProvider

Hodnota IServiceProvider

Platí pro