Beispiel #1
0
 /// <summary>
 /// 初始化 <see cref="Message"/> 类的新实例
 /// </summary>
 /// <param name="text">相关联的消息字符串</param>
 /// <param name="fromGroup">来源群</param>
 /// <param name="fromQQ">来源QQ</param>
 public Message(string text, Group fromGroup, QQ fromQQ)
     : this(text, fromQQ)
 {
     this.FromGroup = fromGroup;
 }
Beispiel #2
0
 /// <summary>
 /// 初始化 <see cref="Message"/> 类的新实例
 /// </summary>
 /// <param name="text">相关联的消息字符串</param>
 /// <param name="fromDiscuss">来源讨论组</param>
 /// /// <param name="fromQQ">来源QQ</param>
 public Message(string text, Discuss fromDiscuss, QQ fromQQ)
     : this(text, fromQQ)
 {
     this.FromDiscuss = fromDiscuss;
 }
Beispiel #3
0
 /// <summary>
 /// 初始化 <see cref="Message"/> 类的新实例
 /// </summary>
 /// <param name="text">相关联的消息字符串</param>
 /// <param name="fromQQ">来源QQ</param>
 public Message(string text, QQ fromQQ)
     : this(text)
 {
     this.FromQQ = fromQQ;
 }