using System;
namespace Renci.SshNet.Common
{
    /// 
    /// Provides data for Shell DataReceived event
    /// 
    public class ShellDataEventArgs : EventArgs
    {
        /// 
        /// Gets the data.
        /// 
        public byte[] Data { get; private set; }
        /// 
        /// Gets the line data.
        /// 
        public string Line { get; private set; }
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The data.
        public ShellDataEventArgs(byte[] data)
        {
            this.Data = data;
        }
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The line.
        public ShellDataEventArgs(string line)
        {
            this.Line = line;
        }
    }
}