Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
BuildTime.cs
1using System.Threading.Tasks;
2
4{
9 {
13 public BuildTime()
14 {
15 }
16
20 public override string Name => "BuildTime";
21
29 public override async Task Execute(ChatState State, string[] Arguments, string OrgMessage, ResponseCallbackHandler ResponseCallback)
30 {
31 await ResponseCallback(IoTGateway.Setup.XmppConfiguration.BuildDate + ", " + IoTGateway.Setup.XmppConfiguration.BuildTime, string.Empty);
32 }
33
37 public override string[] HelpParagraphs => new string[] { "Returns the date and time when the software the broker is running, was built." };
38 }
39}
An administrative command with no parameters.
Returns the date and time when the software the broker is running, was built.
Definition: BuildTime.cs:9
BuildTime()
Returns the date and time when the software the broker is running, was built.
Definition: BuildTime.cs:13
override async Task Execute(ChatState State, string[] Arguments, string OrgMessage, ResponseCallbackHandler ResponseCallback)
Executes the command.
Definition: BuildTime.cs:29
override string[] HelpParagraphs
Markdown description of syntax.
Definition: BuildTime.cs:37
delegate Task< string > ResponseCallbackHandler(string Markdown, string MessageId)
Delegate for response callback handler methods.