IServiceProviderFactory<TContainerBuilder>.CreateBuilder 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.
Creates a container builder from an IServiceCollection.
public:
TContainerBuilder CreateBuilder(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public TContainerBuilder CreateBuilder (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
abstract member CreateBuilder : Microsoft.Extensions.DependencyInjection.IServiceCollection -> 'ContainerBuilder
Public Function CreateBuilder (services As IServiceCollection) As TContainerBuilder
Parameters
- services
- IServiceCollection
The collection of services.
Returns
TContainerBuilder
A container builder that can be used to create an IServiceProvider.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.