XLE  v0.02.0
Public Member Functions | Public Attributes | List of all members
DiffMatchPatch.Diff Class Reference

Public Member Functions

 Diff (Operation operation, string text)
 
override string ToString ()
 
override bool Equals (Object obj)
 
bool Equals (Diff obj)
 
override int GetHashCode ()
 

Public Attributes

Operation operation
 
string text
 

Detailed Description

Class representing one diff operation.

Constructor & Destructor Documentation

DiffMatchPatch.Diff.Diff ( Operation  operation,
string  text 
)
inline

Constructor. Initializes the diff with the provided values.

Parameters
operationOne of INSERT, DELETE or EQUAL.
textThe text being applied.

Member Function Documentation

override bool DiffMatchPatch.Diff.Equals ( Object  obj)
inline

Is this Diff equivalent to another Diff?

Parameters
dAnother Diff to compare against.
Returns
true or false.
override string DiffMatchPatch.Diff.ToString ( )
inline

Display a human-readable version of this Diff.

Returns
text version.

The documentation for this class was generated from the following file: