messagesendfeedbackresult.cs
来自「该源代码用 C# 写成」· CS 代码 · 共 51 行
CS
51 行
using System.Text;
namespace Org.InteliIM.Configurations
{
/// <summary>
/// 发送反馈结果消息
/// </summary>
public sealed class MessageSendFeedbackResult : InstantMessage
{
private string reason;
private bool ok = true;
/// <summary>
/// 发送反馈失败的原因
/// </summary>
public string Reason
{
get
{
if (reason == null)
reason = "";
return reason;
}
set { reason = value; }
}
/// <summary>
/// 是否发送反馈成功
/// </summary>
public bool Ok
{
get { return this.ok; }
set { this.ok = value; }
}
public MessageSendFeedbackResult()
{
}
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("发送反馈结果 [用户: " + this.To + ", 成功: " + this.Ok + "]");
return sb.ToString();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?