messageopenconversation.cs

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

CS
44
字号
using System.Text;

namespace Org.InteliIM.Activities.Conversations
{
	/// <summary>
	/// 请求交谈消息
	/// </summary>
	public sealed class MessageOpenConversation: InstantMessage
	{
		/// <summary>
		/// 构造函数
		/// </summary>
		public MessageOpenConversation()
		{
		}
		
		private Conversation conversation;
		
		/// <summary>
		/// 谈话
		/// </summary>
		public Conversation Conversation
		{
			get
			{
				return this.conversation;
			}
			set
			{
				this.conversation = value;
			}
		}
		
		public override string ToString()
		{
			StringBuilder sb = new StringBuilder();

			sb.Append("打开谈话 [发送者:" +  this.From);
			sb.Append(",接收者:" + this.To + "]");

			return sb.ToString();			
		}
	}
}

⌨️ 快捷键说明

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