Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
CommandOneParameter.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 == 1;
28 }
29
34 public override HelpItem[] GetHelp()
35 {
36 return new HelpItem[] { new HelpItem(this.Name + " " + this.ParameterName, this.HelpParagraphs) };
37 }
38
42 public abstract string ParameterName
43 {
44 get;
45 }
46 }
47}
An administrative command with no parameters.
abstract string[] HelpParagraphs
Markdown description of syntax.
An administrative command taking one parameter.
CommandOneParameter()
An administrative command taking one parameter.
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.
abstract string ParameterName
Name of parameter.
Contains an item of information about a command.
Definition: HelpItem.cs:9