利用插件整理代码,排序和移除不需要的引用。小心.Net2/.Net4的兼容问题
nnhy authored at 2012-12-08 10:14:21
530.00 B
X
using System;
using System.IO;

namespace NewLife.Net.Sockets
{
    /// <summary>数据接收事件参数</summary>
    public class ReceivedEventArgs : EventArgs
    {
        private Stream _Stream;
        /// <summary>数据流</summary>
        public Stream Stream { get { return _Stream; } set { _Stream = value; } }

        /// <summary>实例化一个数据接收事件参数</summary>
        /// <param name="steam"></param>
        public ReceivedEventArgs(Stream steam) { Stream = steam; }
    }
}