Exemplo n.º 1
0
 protected override async Task InternalExecute(IConsoleContext context, ConsoleCommandResult result, string commandname, string commandstring, IScope scope)
 {
     var request = ResolveService<IReportRequest>("", context);
     await Reports.Execute(request);
 }
Exemplo n.º 2
0
 public ConsoleListener(IConsoleContext context,IScope scope = null) {
     _context = context;
     Scope = scope ?? new Scope();
 }