mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
26 lines
627 B
C#
26 lines
627 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace WinSCP
|
|
{
|
|
[Guid("42861F26-1ECA-43BA-8A43-ADF3291D8C81")]
|
|
[ClassInterface(Constants.ClassInterface)]
|
|
[ComVisible(true)]
|
|
public sealed class OutputDataReceivedEventArgs : EventArgs
|
|
{
|
|
public string Data { get; private set; }
|
|
public bool Error { get; private set; }
|
|
|
|
internal OutputDataReceivedEventArgs(string data, bool error)
|
|
{
|
|
Data = data;
|
|
Error = error;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Data;
|
|
}
|
|
}
|
|
}
|