Method | Description | |
---|---|---|
AddLine ( string line, string &fullCommand ) : bool |
Add a new line to this complex command.
|
|
Clear ( ) : void |
Clear this command, discarding any previous incompleted lines if any.
|
|
ComplexCommand ( Func |
Creates a new complex command.
|
Method | Description | |
---|---|---|
CheckComplete ( string allLines, string lastLine ) : bool |
public AddLine ( string line, string &fullCommand ) : bool | ||
line | string | The new line content. |
fullCommand | string | The completed full command if this complex command /// becomes complete after appending line. |
return | bool |
public ComplexCommand ( Func |
||
checkComplete | Func |
A delegate to check complex command completeness. /// Expected signature: bool (allLines, lastLine) |
return | System |