示例#1
0
 public MainCmd(ICmdSwitcher cmdSwitcher, CmdLineExtension cmdLineExtension = null) : base(cmdSwitcher, cmdLineExtension)
 {
     SettingsProp = StorageHardDrive.Get <Settings>("all_settings").Result ?? new Settings();
 }
示例#2
0
 public CommandLineBase(ICmdSwitcher cmdSwitcher, CmdLineExtension cmdLineExtension = null)
 {
     Cmd = cmdLineExtension ?? CmdLineExtension.Inst;
     CurrentCmdSwitcher = cmdSwitcher;
     CmdNameAndMethod   = CreateReflectionDict();
 }