Class FeedbackContainer
Holds feedback information created during the translation and review process.
Inheritance
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class FeedbackContainer : MarkupDataContainer, ICloneable<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
public string Author { get; set; }
Property Value
Type | Description |
---|---|
System.String | The author. |
Category
Gets or sets the custom category of this feedback.
Declaration
public string Category { get; set; }
Property Value
Type | Description |
---|---|
System.String | The category. |
Comment
Gets or sets the comment on this review feedback.
Declaration
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String | The comment. |
CommentDefinitionId
OBSOLETE
Gets or sets the comment definition identifier.Declaration
public int CommentDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The comment definition identifier. |
DocumentCategory
Gets or sets the document category.
Declaration
public string DocumentCategory { get; set; }
Property Value
Type | Description |
---|---|
System.String | The document category. |
FeedbackType
Gets or sets the type of the feedback.
Declaration
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
public string Origin { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReplacementId
Gets or sets the replacement identifier.
Declaration
public string ReplacementId { get; set; }
Property Value
Type | Description |
---|---|
System.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
public string Severity { get; set; }
Property Value
Type | Description |
---|---|
System.String | The custom severity. |
Timestamp
Gets or sets the creation date.
Declaration
public Nullable<DateTime> Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The creation date. |
Type
Gets or sets the custom feedback type.
Declaration
protected override string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | The feedback type. |
Overrides
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
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 |
---|---|
System.Boolean | true if the current object is equal to the |
Overrides
Equals(Object)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance. |
Overrides
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. |