📄 messagesendfeedbackresult.cs
字号:
#region Using Directives
using System.Text;
using Org.InteliIM.Communications;
#endregion
namespace Org.InteliIM.Configurations
{
/// <summary>
/// The message containing the result of sending feedback.
/// </summary>
public sealed class MessageSendFeedbackResult : InstantMessage
{
/// <summary>
/// Initializes a new instance of the MessageSendFeedbackResult class.
/// </summary>
public MessageSendFeedbackResult()
{
}
private string reason;
/// <summary>
/// Gets or sets the reason.
/// </summary>
public string Reason
{
get
{
if (reason == null)
reason = "";
return reason;
}
set { reason = value; }
}
private bool ok = true;
/// <summary>
/// Gets or sets a value indicating whether ok or not.
/// </summary>
public bool Ok
{
get { return this.ok; }
set { this.ok = 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("send feedback result [user: " + this.To + ", ok: " + this.Ok + "]");
return sb.ToString();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -