⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 downloaddata.cs

📁 这个版本(InteliIM Open Kernel Release 2)是目前最新的(首次公开)
💻 CS
字号:
namespace Org.InteliIM.Applications.Messenger.FileSharing
{
	/// <summary>
	/// Encapsulates a data for a download.
	/// </summary>
	public class DownloadData
	{
		private Asset asset;

        /// <summary>
        /// Gets or sets the asset.
        /// </summary>
        /// <value></value>
		public Asset Asset
		{
			get
			{
                if (this.asset == null)
                    this.asset = new Asset();

                return this.asset;
			}
			set
			{
				this.asset = value;
			}
		}

		private int no = -1;

		/// <summary>
		/// Gets or sets the no..
		/// </summary>
		public int No
		{
			get
			{
				return this.no;
			}
			set
			{
				this.no = value;
			}
		}

		private bool cancel = false;

		/// <summary>
		/// Gets or sets a value indicating whether cancel or not.
		/// </summary>
		public bool Cancel
		{
			get
			{
				return this.cancel;
			}
			set
			{
				this.cancel = value;
			}
		}

		private bool begin = false;

		/// <summary>
		/// Gets or sets a value indicating whether this is a beginning or not.
		/// </summary>
		public bool Begin
		{
			get
			{
				return this.begin;
			}
			set
			{
				this.begin = value;
			}
		}

		private bool end = false;

		/// <summary>
		/// Gets or sets a value indicating whether this is a end or not.
		/// </summary>
		public bool End
		{
			get
			{
				return this.end;
			}
			set
			{
				this.end = value;
			}
		}

		private byte[] buffer;

		/// <summary>
		/// Gets or sets the buffer.
		/// </summary>
		public byte[] Buffer
		{
			get
			{
				return this.buffer;
			}
			set
			{
				this.buffer = value;
			}
		}				
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -