Extension.InitializeServices(IServiceCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.