Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ReportsFolder.cs
1using System.Threading.Tasks;
3
4namespace Waher.Reports
5{
9 public class ReportsFolder : ReportNode
10 {
17 : base(NodeId, Parent)
18 {
19 }
20
25 public override Task<string> GetTypeNameAsync(Language Language)
26 {
27 return Language.GetStringAsync(typeof(ReportsDataSource), 2, "Report Folder");
28 }
29
33 public override Task<ExecuteReport> GetExecuteCommand()
34 {
35 return Task.FromResult<ExecuteReport>(null);
36 }
37 }
38}
Abstract base class for commands executing a report.
Abstract base class for report nodes.
Definition: ReportNode.cs:15
INode Parent
Parent Node, or null if a root node.
Definition: ReportNode.cs:107
string NodeId
ID of node.
Definition: ReportNode.cs:39
Defines the Reports data source. This data source contains a tree structure of reports published by d...
A folder of reports.
override Task< ExecuteReport > GetExecuteCommand()
Available command objects. If no commands are available, null is returned.
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
ReportsFolder(string NodeId, ReportNode Parent)
A folder of reports.
Contains information about a language.
Definition: Language.cs:17
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 ...
Definition: Language.cs:209