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

📄 messagecloseconversation.cs

📁 这个版本(InteliIM Open Kernel Release 2)是目前最新的(首次公开)
💻 CS
字号:
#region Using Directives

using System.Text;
using Org.InteliIM.Communications;

#endregion

namespace Org.InteliIM.Applications.Messenger.Conversations
{
	/// <summary>
	/// The message for closing conversation.
	/// </summary>
	public sealed class MessageCloseConversation: InstantMessage
	{
		/// <summary>
		/// Initialize a new instance of the MessageCloseConversation class.
		/// </summary>
		public MessageCloseConversation()
		{
		}
		
		private string conversationId;
		
		/// <summary>
		/// Gets or sets the id of the conversation.
		/// </summary>
		public string ConversationId
		{
			get
			{
                if (this.conversationId == null)
                    this.conversationId = "";

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

        /// <summary>
        /// Overridden. 
        /// Creates and returns a string representation of the current object.
        /// </summary>
        /// <returns></returns>
        public override string ToString()
		{
			StringBuilder sb = new StringBuilder();

			sb.Append("close conversation [sender:" +  this.From);
			sb.Append(",conversation id:" + this.ConversationId + "]");

			return sb.ToString();			
		}
	}
}

⌨️ 快捷键说明

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