diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Console/ConsoleCommandExecutingEventArgs.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Console/ConsoleCommandExecutingEventArgs.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.Console/ConsoleCommandExecutingEventArgs.cs b/Software/Visual_Studio/Tango.Console/ConsoleCommandExecutingEventArgs.cs index 04ff41f91..ecf48efb9 100644 --- a/Software/Visual_Studio/Tango.Console/ConsoleCommandExecutingEventArgs.cs +++ b/Software/Visual_Studio/Tango.Console/ConsoleCommandExecutingEventArgs.cs @@ -8,19 +8,19 @@ namespace Tango.Console { public class ConsoleCommandExecutingEventArgs : EventArgs { - private Action<String, String> _completedAction; + private Action<ConsoleCommandExecutionResult> _completedAction; public ConsoleCommand Command { get; private set; } - public ConsoleCommandExecutingEventArgs(ConsoleCommand command, Action<String, String> completedAction) + public ConsoleCommandExecutingEventArgs(ConsoleCommand command, Action<ConsoleCommandExecutionResult> completedAction) { Command = command; _completedAction = completedAction; } - public void Complete(String output, String nextWorkingFolder) + public void Complete(ConsoleCommandExecutionResult result) { - _completedAction.Invoke(output, nextWorkingFolder); + _completedAction.Invoke(result); } } } |
