Class RevisionContainer
Marks revisions to the translated content.
Inheritance
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class RevisionContainer : MarkupDataContainer, ICloneable<MarkupData>
Constructors
RevisionContainer()
Initializes a new instance of the RevisionContainer class.
Declaration
public RevisionContainer()
RevisionContainer(RevisionType)
Initializes a new instance of the RevisionContainer class.
Declaration
public RevisionContainer(RevisionType revisionType)
Parameters
Type | Name | Description |
---|---|---|
RevisionType | revisionType | Type of the revision. |
Properties
Author
Gets or sets the revision author.
Declaration
public string Author { get; set; }
Property Value
Type | Description |
---|---|
System.String | The revision author. |
RevisionType
Gets or sets the type of the revision.
Declaration
public RevisionType RevisionType { get; set; }
Property Value
Type | Description |
---|---|
RevisionType | The type of the revision. |
Timestamp
Gets or sets the date when the revision was added.
Declaration
public Nullable<DateTime> Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The date when the revision was added. |
Type
Gets the type of MarkupData.
Declaration
protected override string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | The 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 RevisionContainer Clone()
Returns
Type | Description |
---|---|
RevisionContainer | A deep clone of this instance. |
Equals(MarkupData)
Indicates whether the current object is equal to another object of the same type.
Declaration
public override bool Equals(MarkupData other)
Parameters
Type | Name | Description |
---|---|---|
MarkupData | other | An object to compare with this object. |
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, setting a new unique id.
Declaration
public RevisionContainer UniqueClone()
Returns
Type | Description |
---|---|
RevisionContainer | A deep clone of this instance, with a new unique id. |