C# Class mergedServices.Comparison

Show file Open project: sherifkandeel/weet-it_WCF Class Usage Examples

Public Methods

Method Description
Comparison ( List uris, List PredicatesToExclude = null ) : System
fillComparisonComponent ( ResourceInformation input ) : ResourceInformation

Fills The comparisonComponent of each Resource To compare

getCommon ( List input ) : List

Fills the FinalComparisonObject of each ResourceInformation Part of the resource's info that will return when comparing

getComparisonOutput ( ) : List
getData ( List Input_URIs, List PredicatesToExclude ) : void
getLabel ( string uri ) : string

gets the label of the uri, if can't find, it removes the last /

logResults ( List input ) : void

logs all resources information, for testing

Private Methods

Method Description
loadPredicatesToExclude ( ) : List

Method Details

Comparison() public method

public Comparison ( List uris, List PredicatesToExclude = null ) : System
uris List
PredicatesToExclude List
return System

fillComparisonComponent() public method

Fills The comparisonComponent of each Resource To compare
public fillComparisonComponent ( ResourceInformation input ) : ResourceInformation
input ResourceInformation Object to fill its rawComparisonObject
return ResourceInformation

getCommon() public method

Fills the FinalComparisonObject of each ResourceInformation Part of the resource's info that will return when comparing
public getCommon ( List input ) : List
input List Resource Information
return List

getComparisonOutput() public method

public getComparisonOutput ( ) : List
return List

getData() public method

public getData ( List Input_URIs, List PredicatesToExclude ) : void
Input_URIs List
PredicatesToExclude List
return void

getLabel() public method

gets the label of the uri, if can't find, it removes the last /
public getLabel ( string uri ) : string
uri string
return string

logResults() public method

logs all resources information, for testing
public logResults ( List input ) : void
input List list of all resourceInformation object
return void