Freigeben über


Extension.InitializeServices(IServiceCollection) Method

Definition

Initializes the service collection used in creating service factories.

protected override void InitializeServices (Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
override this.InitializeServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> unit
Protected Overrides Sub InitializeServices (serviceCollection As IServiceCollection)

Parameters

serviceCollection
IServiceCollection

Service collection to build.

Applies to