Class | Description | |
---|---|---|
AliasNameAttribute | Defines an alias name for a command | |
AllArgumentsAttribute | Defines that the string[] argument accepts all arguments provided to the command, useage: void MyCommand([AllArguments] string[] arguments) or void MyCommand([AllArguments] string[] arguments, ICommandInterpreter ci) | |
ArgumentAttribute | Provides all the properties available for an argument. | |
CommandAttribute | Provides all the properties available for a command. | |
CommandFilterAttribute | Provides all the properties available for a command 'filter' that is called for every command invoked enabling custom processing of arguments and pre/post processing. The attribute is optional, the format of the the method prototype is not and must be: void (ICommandInterpreter interpreter, ICommandChain chain, string[] arguments); | |
CommandInterpreter | The primary class involved in providing a command-line interpreter. | |
DisplayInfoAndValueAttribute | Contains display info and a default value | |
DisplayInfoAttribute | Provides all the display properties. | |
HttpHeaderBindingAttribute | Specifies that an argument should be fill in from an HTTP header. | |
HttpIgnoreAttribute | Specifies that an argument should be ignored for HTTP requests. | |
HttpRequestFileAttribute | Indicates that the argument is a filename that should be uploaded from the client | |
HttpResponseFileAttribute | Indicates that the argument is an output filename of the command | |
HttpResponseTypeAttribute | Sets the response type to a fixed mime-type on a command | |
IgnoreMemberAttribute | Instructs the CommandInterpreter to ignore a specific method/property | |
InterpreterException | Base exception for assertions and errors encountered while processing commands | |
OptionAttribute | Provides all the properties available for an argument. | |
ServiceCommands | Provide this type to the CommandInterpreter to enable running as a service. | |
ServiceCommands.Installation | Provide this type to the CommandInterpreter to enable installing any command as a service. |
Interface | Description | |
---|---|---|
IArgument | Represents a static or instance method that will be invoked as a command | |
ICommand | Represents a static or instance method that will be invoked as a command | |
ICommandChain | Defines an interface that allows a command filter to call to next filter in the chain | |
ICommandFilter | Represents a static or instance method that is used to filter or pre/post process commands | |
ICommandInterpreter | Defines the interface for the command interpreter. If you use this as a parameter it will be provided auto-magically to your command. To avoid conflicts with ordinal argument matching, make this your last argument. | |
IDisplayInfo | A base interface that provides name and display information | |
IOption | Defines an Option that can be configued/set independantly of the commands. Used with the set/get commands defined by the interpreter. |
Delegate | Description | |
---|---|---|
ReadNextCharacter | Used for obtaining input directly from user rather than from the std:in stream |
Enumeration | Description | |
---|---|---|
DefaultCommands | A list of built-in commands that can be added to the interpreter |