Method | Description | |
---|---|---|
SyntaxBuilder ( |
Initializes a new instance of the SyntaxBuilder class.
|
|
ToString ( ) : string |
Gets the complete syntax for the command. The string returned by this method is equivalent to what would be entered in a command prompt. |
Method | Description | |
---|---|---|
BuildCommandFromType ( |
Recursively builds the syntax for the command. This method recursively works its way up a Command object's inheritance hierarchy. It stops when the next base class is not a subclass of Command. This allows for nested commands to be built. |
|
BuildSyntax ( ) : void |
Checks to make sure the provided Command has a CommandSyntaxAttribute and then calls SyntaxBuilder.BuildCommandFromType
|
|
GetSyntaxAttribute ( |
Gets a SyntaxAttribute from a member.
|
public SyntaxBuilder ( |
||
command | Command from which to build the syntax. | |
return | System |