Share via


KeyedDependencyInjectionSpecificationTests.CreateServiceProvider Method

Definition

protected:
 abstract IServiceProvider ^ CreateServiceProvider(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ collection);
protected abstract IServiceProvider CreateServiceProvider (Microsoft.Extensions.DependencyInjection.IServiceCollection collection);
abstract member CreateServiceProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
Protected MustOverride Function CreateServiceProvider (collection As IServiceCollection) As IServiceProvider

Parameters

collection
IServiceCollection

Returns

Applies to