Ejemplo n.º 1
0
 private void InitDictionary()
 {
     CommandSet.Add(CommandPrintHelp.GetInstance().GetCommand(), CommandPrintHelp.GetInstance());
     CommandSet.Add(CommandGenerateSample.GetInstance().GetCommand(), CommandGenerateSample.GetInstance());
     CommandSet.Add(CommandCheckJson.GetInstance().GetCommand(), CommandCheckJson.GetInstance());
     CommandSet.Add(CommandSolveDesk.GetInstance().GetCommand(), CommandSolveDesk.GetInstance());
     CommandSet.Add(CommandQuit.GetInstance().GetCommand(), CommandQuit.GetInstance());
 }
Ejemplo n.º 2
0
 public static CommandSolveDesk GetInstance()
 {
     return(_instance ?? (_instance = new CommandSolveDesk()));
 }