/// <summary> /// Configure boot /// </summary> /// <param name="builderDelegate">Builder delegete</param> /// <returns><see cref="Bootloader"/> for booting</returns> public static Bootloader Configure(Action <IBootBuilder> builderDelegate) { var builder = new BootBuilder(); builderDelegate(builder); var boot = builder.Build(); var bootLoader = new Bootloader(boot); return(bootLoader); }
/// <summary> /// Initializes a new instance of <see cref="Bootloader"/> /// </summary> /// <param name="actualBootloader">The underlying nested <see cref="Dolittle.Booting.Bootloader"/></param> public Bootloader(Dolittle.Booting.Bootloader actualBootloader) { _actualBootloader = actualBootloader; }