2using System.Threading.Tasks;
84 return await this.report.CanViewAsync(Caller);
92 throw new NotSupportedException();
Abstract base class for commands executing a report.
async Task< bool > CanExecuteAsync(RequestOrigin Caller)
If the command can be executed by the caller.
CommandType Type
Type of command.
ReportNode Report
Report node.
Task< string > GetConfirmationStringAsync(Language Language)
Gets a confirmation string, if any, of the command. If no confirmation is necessary,...
ExecuteReport(ReportNode Report)
Abstract base class for commands executing a report.
string CommandID
ID of command.
Task ExecuteCommandAsync()
Executes the command.
Task< string > GetFailureStringAsync(Language Language)
Gets a failure string, if any, of the command. If no specific failure string is available,...
string SortKey
Sort Key, if available.
abstract ICommand Copy()
Creates a copy of the command object.
abstract Task StartQueryExecutionAsync(Query Query, Language Language)
Starts the execution of a query.
Task< string > GetSuccessStringAsync(Language Language)
Gets a success string, if any, of the command. If no specific success string is available,...
string SortCategory
Sort Category, if available.
virtual Task< string > GetNameAsync(Language Language)
Gets the displayable name of the command.
Abstract base class for report nodes.
Defines the Reports data source. This data source contains a tree structure of reports published by d...
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
Class handling the reception of data from a query.
Tokens available in request.