Show / Hide Table of Contents

    Share 类

    表示分享的 CQCode。

    继承
    System.Object
    MessageElement
    CQCode
    Share
    实现
    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 Share : CQCode, ISendable, IEquatable<MessageElement>

    构造函数

    | 改善此文档 查看源代码

    Share()

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

    Share(IDictionary<String, String>)

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

    属性

    | 改善此文档 查看源代码

    Description

    获取或设置当前 Share 实例的描述。

    声明
    public string Description { get; set; }
    属性值
    类型 描述
    System.String
    | 改善此文档 查看源代码

    ImageUrl

    获取或设置当前 Share 实例的图片 URL。

    声明
    public Uri ImageUrl { get; set; }
    属性值
    类型 描述
    System.Uri
    | 改善此文档 查看源代码

    Title

    获取或设置当前 Share 实例的标题。

    声明
    public string Title { get; set; }
    属性值
    类型 描述
    System.String
    | 改善此文档 查看源代码

    Url

    获取或设置当前 Share 实例的 URL。

    声明
    public Uri Url { get; set; }
    属性值
    类型 描述
    System.Uri

    实现

    ISendable
    System.IEquatable<T>
    • 改善此文档
    • 查看源代码
    Back to top 本文档使用 CC BY-NC-SA 4.0 进行许可。