示例#1
0
 public InfoService(CommandService commands, OriGlobal global, InfoFormatter formatter = null)
 {
     _commands  = commands;
     _reports   = global.Reports;
     _formatter = formatter; // ?? InfoFormatter.Default;
     Guides     = formatter?.OnLoadGuides();
 }
示例#2
0
 public OriGlobal()
 {
     Reports = new ReportContainer();
 }
示例#3
0
 internal OriGlobal(ReportContainer reports)
 {
     Reports = reports ?? new ReportContainer();
 }