コード例 #1
0
 public DefaultBootMenu(BootMenuGenOptionsDTO defaultBootMenu)
 {
     _defaultBoot             = defaultBootMenu;
     _bootEntryServices       = new BootEntryServices();
     _secondaryServerServices = new SecondaryServerServices();
     _registration            = SettingServices.GetSettingValue(SettingStrings.RegistrationEnabled) == "No" ? " skip_registration=true " : string.Empty;
 }
コード例 #2
0
 public DefaultBootMenu(BootMenuGenOptionsDTO defaultBootMenu)
 {
     _defaultBoot             = defaultBootMenu;
     _bootEntryServices       = new BootEntryServices();
     _secondaryServerServices = new SecondaryServerServices();
     _registration            = SettingServices.GetSettingValue(SettingStrings.RegistrationEnabled) == "No" ? " skip_registration=true " : string.Empty;
     _keepNamePrompt          = SettingServices.GetSettingValue(SettingStrings.OnDemandNamePrompt) == "Yes"
      ? " keep_name_prompt=true "
      : string.Empty;
 }
コード例 #3
0
 public BootEntryController()
 {
     _bootEntryServices = new BootEntryServices();
 }
コード例 #4
0
 public DefaultBootMenu(BootMenuGenOptionsDTO defaultBootMenu)
 {
     _defaultBoot             = defaultBootMenu;
     _bootEntryServices       = new BootEntryServices();
     _secondaryServerServices = new SecondaryServerServices();
 }