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