|
void | RedirectOutput (Action< string, int > callback) |
| Redirects the standard output to a custom callback. More...
|
|
|
Action< string, int > | output_callback_ |
| Callback used to replace the standard output stream.
|
|
◆ OnOutputDataRecieved()
void cpg.utils.Perforce.OnOutputDataRecieved |
( |
object |
sender, |
|
|
DataReceivedEventArgs |
e |
|
) |
| |
|
inlineprivate |
calls the callback passed with the RedirectOutput function.
- Parameters
-
[in] | sender | (object) The sender of the event. |
[in] | e | (DataReceivedEventArgs) The parameters containing data of the event. |
- See also
- CMake.RedirectOutput
◆ RedirectOutput()
void cpg.utils.Perforce.RedirectOutput |
( |
Action< string, int > |
callback | ) |
|
|
inline |
Redirects the standard output to a custom callback.
- Parameters
-
[in] | callback | (Action<string>) Callback used to process the output. |
Implements cpg.utils.IScm.
The documentation for this class was generated from the following file:
- D:/PerforceLocal/Workspaces/CrossPlatformGenerator/cross-platform-generator/vs/cross-platform-generator/utils/scm.cs