Search Results for

    Show / Hide Table of Contents

    Class Comment

    Represents a comment

    Inheritance
    object
    CommentEditable
    Comment
    Inherited Members
    CommentEditable.Message
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class Comment : CommentEditable

    Properties

    Audit

    Audit information.

    Declaration
    [JsonProperty("audit", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public UserAuditDetail Audit { get; set; }
    Property Value
    UserAuditDetail

    ContentId

    ID of the content this comment is on.

    Declaration
    [JsonProperty("contentId", Required = Required.Always)]
    [Required]
    public string ContentId { get; set; }
    Property Value
    string

    Id

    Comment ID.

    Declaration
    [JsonProperty("id", Required = Required.Always)]
    [Required]
    public string Id { get; set; }
    Property Value
    string

    ParentId

    ID of the parent comment, in case this comment is a reply.

    Declaration
    [JsonProperty("parentId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string ParentId { get; set; }
    Property Value
    string

    Methods

    FromJson(string)

    Declaration
    public static Comment FromJson(string data)
    Parameters
    string data

    Returns
    Comment

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX