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

📄 startdownloadreceivedeventargs.cs

📁 这个版本(InteliIM Open Kernel Release 2)是目前最新的(首次公开)
💻 CS
字号:
using System;

namespace Org.InteliIM.Applications.Messenger.FileSharing
{
	/// <summary>
	/// Provides data for the StartDownloadReceived event.
	/// </summary>
	public class StartDownloadReceivedEventArgs
		: EventArgs
	{
		/// <summary>
		/// Initializes a new instance of
		/// the StartDownloadReceivedEventArgs class.
		/// </summary>
		public StartDownloadReceivedEventArgs(string from, Asset asset)
		{
			this.From = from;
			this.Asset = asset;
		}

		private string from;

		/// <summary>
		/// Gets or sets the sender.
		/// </summary>
		public string From
		{
			get
			{
				if (this.from == null)
					this.from = "";

				return from;
			}
			set
			{
				from = value;
			}
		}

		private Asset asset;

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

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

⌨️ 快捷键说明

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