Search Results for

    Show / Hide Table of Contents

    Class CommentDefinition

    Contains comment data. Can be referenced by multiple CommentContainer instances.

    Inheritance
    object
    ExtensionDataContainer
    MetadataContainer
    SkeletonItem
    CommentDefinition
    Implements
    IEquatable<MetadataContainer>
    IEquatable<SkeletonItem>
    ICloneable<CommentDefinition>
    IEquatable<CommentDefinition>
    Inherited Members
    SkeletonItem.Equals(SkeletonItem)
    SkeletonItem.Id
    MetadataContainer.GetMetadata(string)
    MetadataContainer.SetMetadata(string, string)
    MetadataContainer.Equals(MetadataContainer)
    MetadataContainer.ShouldSerialize_metadata()
    MetadataContainer.Metadata
    ExtensionDataContainer.ExtensionData
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    [DataContract]
    public class CommentDefinition : SkeletonItem, IEquatable<MetadataContainer>, IEquatable<SkeletonItem>, ICloneable<CommentDefinition>, IEquatable<CommentDefinition>

    Constructors

    CommentDefinition()

    Initializes a new instance of the CommentDefinition class.

    Declaration
    public CommentDefinition()

    Properties

    Author

    Gets or sets the author.

    Declaration
    [DataMember(Name = "author")]
    public string Author { get; set; }
    Property Value
    Type Description
    string

    The author.

    CommentSeverity

    Gets or sets the comment severity.

    Declaration
    [DataMember(Name = "commentSeverity")]
    [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    public CommentSeverity CommentSeverity { get; set; }
    Property Value
    Type Description
    CommentSeverity

    The comment severity.

    Date

    Gets or sets the comment creation date.

    Declaration
    [DataMember(Name = "date", EmitDefaultValue = false)]
    public DateTime Date { get; set; }
    Property Value
    Type Description
    DateTime

    The comment creation date.

    Text

    Gets or sets the text.

    Declaration
    [DataMember(Name = "text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string

    The text.

    Methods

    Clone()

    Clones this instance.

    Declaration
    public CommentDefinition Clone()
    Returns
    Type Description
    CommentDefinition

    A dee

    Equals(CommentDefinition)

    Performs a deep-equals comparison.
    System.Object.Equals(object)

    Declaration
    public bool Equals(CommentDefinition other)
    Parameters
    Type Name Description
    CommentDefinition other
    Returns
    Type Description
    bool

    Equals(object)

    Performs a deep-equals comparison.
    System.Object.Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    SkeletonItem.Equals(object)

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this instance.

    Overrides
    SkeletonItem.GetHashCode()

    Implements

    IEquatable<T>
    IEquatable<T>
    ICloneable<T>
    IEquatable<T>
    In this article
    Back to top Generated by DocFX