Beispiel #1
0
 public static Bootstrapper ConfigureEngine(this Bootstrapper bootstrapper, Action <IEngine> action) =>
 bootstrapper.Configure <IEngine>(x => action(x));
Beispiel #2
0
 public static Bootstrapper ConfigureServices(this Bootstrapper bootstrapper, Action <IServiceCollection, IConfigurationRoot> action) =>
 bootstrapper.Configure <ConfigurableServices>(x => action(x.Services, x.Configuration));
Beispiel #3
0
 public static Bootstrapper ConfigureSettings(this Bootstrapper bootstrapper, Action <IConfigurationSettings> action) =>
 bootstrapper.Configure <ConfigurableSettings>(x => action(x.Settings));
Beispiel #4
0
 public static Bootstrapper BuildConfiguration(this Bootstrapper bootstrapper, Action <IConfigurationBuilder> action) =>
 bootstrapper.Configure <ConfigurableConfiguration>(x => action(x.Builder));
Beispiel #5
0
 public static Bootstrapper ConfigureCommands(this Bootstrapper bootstrapper, Action <IConfigurator> action) =>
 bootstrapper.Configure <ConfigurableCommands>(x => action(x.Configurator));