Class RevisionInfo
Represents information about a revision in a document.
Inheritance
Namespace: Telerik.Windows.Documents.Model.Revisions
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class RevisionInfo : Object
Constructors
RevisionInfo()
Declaration
public RevisionInfo()
Properties
Author
Gets or sets the author of the revision.
Declaration
[XamlSerializable]
public string Author { get; set; }
Property Value
System.String
A string representing the name of the author who made the revision. |
Date
Gets the date associated with the revision information.
Declaration
[XamlSerializable]
public DateTime Date { get; set; }
Property Value
System.DateTime
|
Tag
Gets or sets the tag associated with the revision information.
Declaration
[XamlSerializable]
public string Tag { get; set; }
Property Value
System.String
The tag that provides contextual information about the revision. |
Methods
CreateDeepCopy()
Creates a deep copy of the current RevisionInfo instance.
Declaration
public RevisionInfo CreateDeepCopy()
Returns
RevisionInfo
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.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current RevisionInfo instance. |
Returns
System.Boolean
True if the specified object is equal to the current RevisionInfo; otherwise, false. |
GetHashCode()
Returns a hash code for the current instance of the RevisionInfo class.
Declaration
public override int GetHashCode()
Returns
System.Int32
A 32-bit signed integer that is the hash code for the current RevisionInfo object. |
ShouldMerge(RevisionInfo, RevisionInfo)
Determines whether two RevisionInfo objects should be merged.
Declaration
public static bool ShouldMerge(RevisionInfo info1, RevisionInfo info2)
Parameters
RevisionInfo
info1
The first RevisionInfo object to evaluate. |
RevisionInfo
info2
The second RevisionInfo object to evaluate. |
Returns
System.Boolean
Returns true if the two RevisionInfo objects should be merged; otherwise, false. |
Operators
Equality(RevisionInfo, RevisionInfo)
Declaration
public static bool operator ==(RevisionInfo left, RevisionInfo right)
Parameters
RevisionInfo
left
|
RevisionInfo
right
|
Returns
System.Boolean
|
Inequality(RevisionInfo, RevisionInfo)
Declaration
public static bool operator !=(RevisionInfo left, RevisionInfo right)
Parameters
RevisionInfo
left
|
RevisionInfo
right
|
Returns
System.Boolean
|