buildServiceProvider method

ServiceProvider buildServiceProvider([
  1. ServiceProviderOptions? options
])

Creates a ServiceProvider containing services from the provided ServiceCollection.

Implementation

ServiceProvider buildServiceProvider([ServiceProviderOptions? options]) =>
    ServiceProviderImpl(
      this,
      options ??= ServiceProviderOptions(),
    );