C# Class KSUtil.CompareFileData

Class used to compare two event files together, stores the results for display in the UI
Afficher le fichier Open project: angelaHillier/KSUtil Class Usage Examples

Méthodes publiques

Méthode Description
CompareFileData ( ) : System

Initializes a new instance of the CompareFileData class

CompareFileData ( FileData leftFile, FileData rightFile ) : System

Initializes a new instance of the CompareFileData class and sets properties based on the FileData provided

GetCompareFileDataAsText ( ) : string

Formats an output string to show results for the -compare command-line parameter

Private Methods

Méthode Description
CompareMetadata ( object>.IEnumerable leftMetadata, object>.IEnumerable rightMetadata, bool &same ) : ObservableCollection

Compares two metadata collections together

CompareStreams ( IEnumerable leftStreams, IEnumerable rightStreams ) : ObservableCollection

Compares similar streams from two different files together

GetCompareDataAsText ( IEnumerable compareData ) : string

Returns the CompareData object as a string for output to the command-line or log file

Method Details

CompareFileData() public méthode

Initializes a new instance of the CompareFileData class
public CompareFileData ( ) : System
Résultat System

CompareFileData() public méthode

Initializes a new instance of the CompareFileData class and sets properties based on the FileData provided
public CompareFileData ( FileData leftFile, FileData rightFile ) : System
leftFile FileData First set of FileData to use in comparison
rightFile FileData Second set of FileData to use in comparison
Résultat System

GetCompareFileDataAsText() public méthode

Formats an output string to show results for the -compare command-line parameter
public GetCompareFileDataAsText ( ) : string
Résultat string