Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
CommandTwoParameters.cs
1using System;
2
4{
9 {
14 {
15 }
16
24 public override bool AppliesTo(string CommandLine, string[] Arguments, out object Details)
25 {
26 Details = null;
27 return Arguments.Length == 2;
28 }
29
34 public override HelpItem[] GetHelp()
35 {
36 return new HelpItem[] { new HelpItem(this.Name + " " + this.ParameterName + " " + this.Parameter2Name, this.HelpParagraphs) };
37 }
38
42 public abstract string Parameter2Name
43 {
44 get;
45 }
46 }
47}
abstract string[] HelpParagraphs
Markdown description of syntax.
An administrative command taking one parameter.
abstract string ParameterName
Name of parameter.
An administrative command taking two parameters.
override HelpItem[] GetHelp()
Gets help about the command.
override bool AppliesTo(string CommandLine, string[] Arguments, out object Details)
If the command is applicable to the given command line.
CommandTwoParameters()
An administrative command taking two parameters.
abstract string Parameter2Name
Name of second parameter.
Contains an item of information about a command.
Definition: HelpItem.cs:9