RevisionInfo
Represents information about a revision in a document.
Definition
Namespace:Telerik.Windows.Documents.Model.Revisions
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class RevisionInfo
Inheritance: objectRevisionInfo
Constructors
public RevisionInfo()
Properties
Gets or sets the author of the revision.
[XamlSerializable]
public string Author { get; set; }
A string representing the name of the author who made the revision.
Gets the date associated with the revision information.
[TypeConverter(typeof(UniversalDateTimeConverter))]
[XamlSerializable]
public DateTime Date { get; set; }
Methods
Creates a deep copy of the current RevisionInfo instance.
public RevisionInfo CreateDeepCopy()
A new instance of the RevisionInfo that is a deep copy of the original instance.
Determines whether the specified object is equal to the current RevisionInfo instance.
Returns a hash code for the current instance of the RevisionInfo class.
public override int GetHashCode()
A 32-bit signed integer that is the hash code for the current RevisionInfo object.
Overrides:
Determines whether two RevisionInfo objects should be merged.
public static bool ShouldMerge(RevisionInfo info1, RevisionInfo info2)
The first RevisionInfo object to evaluate.
info2RevisionInfoThe second RevisionInfo object to evaluate.
Returns:Returns true if the two RevisionInfo objects should be merged; otherwise, false.
Operators
public static bool operator !=(RevisionInfo left, RevisionInfo right)
public static bool operator ==(RevisionInfo left, RevisionInfo right)