ClassRevisionInfo
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
RevisionInfo()
Declaration
public RevisionInfo()
Properties
Author
Gets or sets the author of the revision.
Declaration
[XamlSerializable]
public string Author { get; set; }
Property Value
A string representing the name of the author who made the revision.
Date
Gets the date associated with the revision information.
Declaration
[TypeConverter(typeof(UniversalDateTimeConverter))]
[XamlSerializable]
public DateTime Date { get; set; }
Property Value
Methods
CreateDeepCopy()
Creates a deep copy of the current RevisionInfo instance.
Declaration
public RevisionInfo CreateDeepCopy()
Returns
A new instance of the RevisionInfo that is a deep copy of the original instance.
Equals(object)
Determines whether the specified object is equal to the current RevisionInfo instance.
GetHashCode()
Returns a hash code for the current instance of the RevisionInfo class.
Declaration
public override int GetHashCode()
Returns
A 32-bit signed integer that is the hash code for the current RevisionInfo object.
Overrides
ShouldMerge(RevisionInfo, RevisionInfo)
Determines whether two RevisionInfo objects should be merged.
Declaration
public static bool ShouldMerge(RevisionInfo info1, RevisionInfo info2)
Parameters
info1
The first RevisionInfo object to evaluate.
info2
The second RevisionInfo object to evaluate.
Returns
Returns true if the two RevisionInfo objects should be merged; otherwise, false.
Operators
operator !=(RevisionInfo, RevisionInfo)
Declaration
public static bool operator !=(RevisionInfo left, RevisionInfo right)
Parameters
left
right
Returns
operator ==(RevisionInfo, RevisionInfo)
Declaration
public static bool operator ==(RevisionInfo left, RevisionInfo right)
Parameters
left
right
Returns