configureAll<TOptions> method

ServiceCollection configureAll<TOptions>(
  1. OptionsImplementationFactory<TOptions> instance,
  2. ConfigureOptionsAction<TOptions> configureOptions, {
  3. String? name,
})

Registers an action used to configure all instances of a particular type of options.

Implementation

ServiceCollection configureAll<TOptions>(
  OptionsImplementationFactory<TOptions> instance,
  ConfigureOptionsAction<TOptions> configureOptions, {
  String? name,
}) =>
    configure<TOptions>(instance, configureOptions);