downloadresponsereceivedeventargs.cs

来自「该源代码用 C# 写成」· CS 代码 · 共 64 行

CS
64
字号
using System;

namespace Org.InteliIM.Activities.FileSharing
{
	/// <summary>
	/// DownloadResponseReceivedEventArgs 的摘要说明。
	/// </summary>
	public class DownloadResponseReceivedEventArgs
		: EventArgs
	{
		public DownloadResponseReceivedEventArgs(
			string from, Asset asset, bool ok)
		{
			this.From = from;
			this.Asset = asset;
			this.Ok = ok;
		}

		private string from;

		/// <summary>
		/// 用户名
		/// </summary>
		public string From
		{
			get
			{
				return from;
			}
			set
			{
				from = value;
			}
		}

		private Asset asset;

		public Asset Asset
		{
			get
			{
				return this.asset;
			}
			set
			{
				this.asset = value;
			}
		}

		private bool ok;

		public bool Ok
		{
			get
			{
				return this.ok;
			}
			set
			{
				this.ok = value;
			}
		}
	}
}

⌨️ 快捷键说明

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