Class DocumentHistoryDifference
Inheritance
System.Object
DocumentHistoryDifference
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Syntax
public class DocumentHistoryDifference
Properties
DocumentId
Declaration
public string DocumentId { get; set; }
Property Value
System.String
|
NewDocumentVersion
Declaration
public long NewDocumentVersion { get; set; }
Property Value
System.Int64
|
OldDocumentVersion
Declaration
public long OldDocumentVersion { get; set; }
Property Value
System.Int64
|
Patch
Contains an RFC 6902 compatible patch that can be applied on the old document to get the new document.
Use a library like jsondiffpatch.net (https://github.com/wbish/jsondiffpatch.net)
or jsondiffpatch (https://github.com/benjamine/jsondiffpatch) to process this.
Declaration
public object Patch { get; set; }
Property Value
System.Object
|
Methods
FromJson(String)
Declaration
public static DocumentHistoryDifference FromJson(string data)
Parameters
System.String
data
|
Returns
DocumentHistoryDifference
|
ToJson()
Declaration
public string ToJson()
Returns
System.String
|