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; }

        internal OutputDataReceivedEventArgs(string data)
        {
            Data = data;
        }

        public override string ToString()
        {
            return Data;
        }
    }
}
