Show / Hide Table of Contents

    Mention 类

    表示提及 (@) 的 CQCode。

    继承
    System.Object
    MessageElement
    CQCode
    Mention
    At
    实现
    ISendable
    System.IEquatable<MessageElement>
    继承成员
    CQCode.Parameters
    CQCode.Type
    CQCode.Item[String]
    CQCode.Escape(String)
    CQCode.Unescape(String)
    CQCode.Create(String, IDictionary<String, String>)
    CQCode.Create(String)
    CQCode.ToSendableString()
    CQCode.GetParameterAsBoolean(String)
    CQCode.GetParameterAsInt32(String)
    CQCode.GetParameterAsInt64(String)
    CQCode.GetParameterAsSingle(String)
    CQCode.GetParameterAsDouble(String)
    CQCode.GetParameterAsUri(String)
    CQCode.SetParameter(String, Boolean)
    CQCode.SetParameter(String, Int32)
    CQCode.SetParameter(String, Int64)
    CQCode.SetParameter(String, Single)
    CQCode.SetParameter(String, Double)
    CQCode.SetParameter(String, Uri)
    MessageElement.FromString(String)
    MessageElement.Add(MessageElement)
    MessageElement.ToComplexMessage()
    MessageElement.ToString()
    MessageElement.GetHashCode()
    MessageElement.Equals(Object)
    MessageElement.Equals(MessageElement)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    命名空间: HuajiTech.CoolQ.Messaging
    程序集: HuajiTech.CoolQ.Messaging.dll
    语法
    public class Mention : CQCode, ISendable, IEquatable<MessageElement>

    构造函数

    | 改善此文档 查看源代码

    Mention()

    声明
    public Mention()
    | 改善此文档 查看源代码

    Mention(IDictionary<String, String>)

    声明
    public Mention(IDictionary<string, string> parameters)
    参数
    类型 名称 描述
    System.Collections.Generic.IDictionary<System.String, System.String> parameters

    属性

    | 改善此文档 查看源代码

    TargetNumber

    获取或设置当前 Mention 实例的目标号码。

    声明
    public long TargetNumber { get; set; }
    属性值
    类型 描述
    System.Int64

    实现

    ISendable
    System.IEquatable<T>

    扩展方法

    AbstractionExtensions.GetTarget(Mention, PluginContext)
    AbstractionExtensions.GetTarget(Mention)
    AbstractionExtensions.SetTarget(Mention, IUser)
    • 改善此文档
    • 查看源代码
    Back to top 本文档使用 CC BY-NC-SA 4.0 进行许可。