closeconversationreceivedeventargs.cs

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

CS
55
字号
using System;

namespace Org.InteliIM.Activities.Conversations
{
	/// <summary>
	/// 为 CloseConversationReceived 事件提供数据
	/// </summary>
	public class CloseConversationReceivedEventArgs : EventArgs
	{
		private string from;

		/// <summary>
		/// 发送者用户名
		/// </summary>
		public string From
		{
			get
			{
				return this.from;
			}
			set
			{
				this.from = value;
			}
		}

		private string conversationId;

		/// <summary>
		/// 相关联的谈话对象编号
		/// </summary>
		public string ConversationId
		{
			get
			{
				return this.conversationId;
			}
			set
			{
				this.conversationId = value;
			}
		}

		/// <summary>
		/// 构造函数
		/// </summary>
		/// <param name="from"></param>
		/// <param name="conversationId"></param>
		public CloseConversationReceivedEventArgs(string from, string conversationId)
		{
			this.From = from;
			this.ConversationId = conversationId;
		}
	}
}

⌨️ 快捷键说明

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