diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-28 19:46:34 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-28 19:46:34 +0200 |
| commit | 18dafa9e98e171321d3847a208c0af5be6f57ef6 (patch) | |
| tree | 94d44edbe93ad2c95e62179ec8e2b1da9ce4dd13 /Software/Visual_Studio/Tango.Console/ConsoleCommandExecutingEventArgs.cs | |
| parent | 5f45be5bae69be7b7e916f02fb6d69b2db60e529 (diff) | |
| download | Tango-18dafa9e98e171321d3847a208c0af5be6f57ef6.tar.gz Tango-18dafa9e98e171321d3847a208c0af5be6f57ef6.zip | |
Implemented Transport Immediate mode on TCP and SignalR.
Implemented Tango.Console components.
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); } } } |
