Search Results for

    Show / Hide Table of Contents

    Class FeedbackContainer

    Holds feedback information created during the translation and review process.

    Inheritance
    object
    ExtensionDataContainer
    MetadataContainer
    MarkupData
    MarkupDataContainer
    FeedbackContainer
    Implements
    IEquatable<MetadataContainer>
    ICloneable<MarkupData>
    IEquatable<MarkupData>
    Inherited Members
    MarkupDataContainer.AutoClonedTagPairKey
    MarkupDataContainer.GetAllChildren(Func<MarkupData, bool>)
    MarkupDataContainer.GetAllChildren<T>(Func<T, bool>)
    MarkupDataContainer.Add(MarkupData)
    MarkupDataContainer.Add(IEnumerable<MarkupData>)
    MarkupDataContainer.Insert(int, MarkupData)
    MarkupDataContainer.Remove(MarkupData)
    MarkupDataContainer.Clear()
    MarkupDataContainer.GetEnumerator()
    MarkupDataContainer.MoveToContainer(MarkupDataContainer, int, int, int)
    MarkupDataContainer.Equals(MarkupDataContainer)
    MarkupDataContainer.ToString()
    MarkupDataContainer.OnDeserialized()
    MarkupDataContainer.CloneWithoutChildren()
    MarkupDataContainer.Children
    MarkupDataContainer.AllSubItems
    MarkupDataContainer.Count
    MarkupDataContainer.this[int]
    MarkupData.Id
    MarkupData.Parent
    MarkupData.ParentFragment
    MarkupData.ParentParagraph
    MarkupData.ParentParagraphUnit
    MarkupData.Ancestors
    MarkupData.ParentSegment
    MarkupData.IsContainer
    MarkupData.IndexInParent
    MetadataContainer.GetMetadata(string)
    MetadataContainer.SetMetadata(string, string)
    MetadataContainer.Equals(MetadataContainer)
    MetadataContainer.ShouldSerialize_metadata()
    MetadataContainer.Metadata
    ExtensionDataContainer.ExtensionData
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Sdl.Core.Bcm.BcmModel
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    [DataContract]
    public class FeedbackContainer : MarkupDataContainer, IEquatable<MetadataContainer>, ICloneable<MarkupData>, IEquatable<MarkupData>
    Remarks

    Used by the Translation Quality Assessment process(TQA).

    Constructors

    FeedbackContainer()

    Initializes a new instance of the FeedbackContainer class.

    Declaration
    public FeedbackContainer()

    FeedbackContainer(FeedbackType)

    Initializes a new instance of the FeedbackContainer class.

    Declaration
    public FeedbackContainer(FeedbackType feedbackType)
    Parameters
    Type Name Description
    FeedbackType feedbackType

    Type of the feedback.

    Properties

    Author

    Gets or sets the author.

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

    The author.

    Category

    Gets or sets the custom category of this feedback.

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

    The category.

    Comment

    Gets or sets the comment on this review feedback.

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

    The comment.

    CommentDefinitionId

    OBSOLETE

    Gets or sets the comment definition identifier.
    Declaration
    [Obsolete("SHOULD be removed in next MAJOR release")]
    [DataMember(Name = "commentDefinitionId")]
    public int CommentDefinitionId { get; set; }
    Property Value
    Type Description
    int

    The comment definition identifier.

    DocumentCategory

    Gets or sets the document category.

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

    The document category.

    FeedbackType

    Gets or sets the type of the feedback.

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

    The type of the feedback.

    Origin

    Gets or sets the feedback origin. Example values: "auto-filled", "auto-categorized", "interactive"

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

    ReplacementId

    Gets or sets the replacement identifier.

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

    The replacement identifier.

    Remarks

    Id which is used for identifying TQA replacements (replacing an existing piece of markup with new markup). Both original and new markup (adjacent FeedbackDeleted and FeedbackAdded markers) will contain an identical ReplacementId GUID in their properties indicating it is a replacement.

    Severity

    Gets or sets the custom severity.

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

    The custom severity.

    Timestamp

    Gets or sets the creation date.

    Declaration
    [DataMember(Name = "timestamp")]
    public DateTime? Timestamp { get; set; }
    Property Value
    Type Description
    DateTime?

    The creation date.

    Type

    Gets or sets the custom feedback type.

    Declaration
    [JsonProperty("type")]
    protected override string Type { get; set; }
    Property Value
    Type Description
    string

    The feedback type.

    Overrides
    MarkupData.Type

    Methods

    AcceptVisitor(BcmVisitor)

    Accepts a visitor of type BcmVisitor.

    Declaration
    public override void AcceptVisitor(BcmVisitor visitor)
    Parameters
    Type Name Description
    BcmVisitor visitor

    The BcmVisitor used to visit this item.

    Overrides
    MarkupData.AcceptVisitor(BcmVisitor)

    Clone()

    Clones this instance.

    Declaration
    public FeedbackContainer Clone()
    Returns
    Type Description
    FeedbackContainer

    A deep clone of this instance.

    Equals(MarkupData)

    Performs a deep equals comparison.

    Declaration
    public override bool Equals(MarkupData other)
    Parameters
    Type Name Description
    MarkupData other

    The other MarkupData used for comparison..

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    Overrides
    MarkupDataContainer.Equals(MarkupData)

    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
    MarkupDataContainer.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
    MarkupDataContainer.GetHashCode()

    UniqueClone()

    Clones this instance with a new unique ID.

    Declaration
    public FeedbackContainer UniqueClone()
    Returns
    Type Description
    FeedbackContainer

    A deep clone with a new unique ID.

    Implements

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