Ejemplo n.º 1
0
 /// <summary>
 /// Gets a standard configurer from the given options configurer. Can be used to provide
 /// extensions to <see cref="OptionsConfigurer"/> that return a standard configurer that can then
 /// be used to build further
 /// </summary>
 public static StandardConfigurer <TService> GetConfigurerFrom(OptionsConfigurer configurer)
 {
     if (configurer == null)
     {
         throw new ArgumentNullException(nameof(configurer));
     }
     return(configurer.GetConfigurer <TService>());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets a standard configurer from the given options configurer. Can be used to provide
 /// extensions to <see cref="OptionsConfigurer"/> that return a standard configurer that can then
 /// be used to build further
 /// </summary>
 public static StandardConfigurer <TService> GetConfigurerFrom(OptionsConfigurer configurer)
 {
     return(configurer.GetConfigurer <TService>());
 }