C# Class Xnlab.SQLMon.Diff.DiffEngine

显示文件 Open project: unruledboy/SQLMonitor Class Usage Examples

Public Methods

Method Description
DiffEngine ( ) : System
DiffReport ( ) : List
ProcessDiff ( IDiffList source, IDiffList destination ) : double
ProcessDiff ( IDiffList source, IDiffList destination, DiffEngineLevel level ) : double

Private Methods

Method Description
AddChanges ( List report, int curDest, int nextDest, int curSource, int nextSource ) : bool
GetLongestSourceMatch ( DiffState curItem, int destIndex, int destEnd, int sourceStart, int sourceEnd ) : void
GetSourceMatchLength ( int destIndex, int sourceIndex, int maxLength ) : int
ProcessRange ( int destStart, int destEnd, int sourceStart, int sourceEnd ) : void

Method Details

DiffEngine() public method

public DiffEngine ( ) : System
return System

DiffReport() public method

public DiffReport ( ) : List
return List

ProcessDiff() public method

public ProcessDiff ( IDiffList source, IDiffList destination ) : double
source IDiffList
destination IDiffList
return double

ProcessDiff() public method

public ProcessDiff ( IDiffList source, IDiffList destination, DiffEngineLevel level ) : double
source IDiffList
destination IDiffList
level DiffEngineLevel
return double