C# Class CalendarAggregator.Search

Show file Open project: judell/elmcity Class Usage Examples

Public Properties

Property Type Description
days List

Public Methods

Method Description
BingSearch ( string search_expression, int max, object>.Dictionary stats_dict ) : List
GoogleSearch ( string search_expression, object>.Dictionary stats_dict ) : List
RawBingSearch ( string search_expresson ) : string
SearchLocation ( string id, string where ) : object>.Dictionary

Private Methods

Method Description
CallSearchApi ( Uri search_url ) : string
CountResults ( SearchResult>.Dictionary final_results_dict, object>.Dictionary stats_dict ) : void
DictifyResults ( List results_list, SearchResult>.Dictionary final_results_dict, object>.Dictionary stats_dict ) : void
EraseTags ( string html, string tags ) : string
IncrementEngineCount ( SearchResult engine, object>.Dictionary stats_dict ) : void
MaybeUpdateFindingEngine ( SearchResult>.Dictionary final_results_dict, SearchResult search_result, object>.Dictionary stats_dict ) : void
PerformSearches ( string where, SearchResult>.Dictionary final_results_dict, object>.Dictionary stats_dict ) : void
RenderResultsAsHtml ( string where, SearchResult>.Dictionary final_results_dict, object>.Dictionary stats_dict ) : string
VerifyFoundContent ( string url, string content, object>.Dictionary stats_dict ) : bool

Method Details

BingSearch() public static method

public static BingSearch ( string search_expression, int max, object>.Dictionary stats_dict ) : List
search_expression string
max int
stats_dict object>.Dictionary
return List

GoogleSearch() public static method

public static GoogleSearch ( string search_expression, object>.Dictionary stats_dict ) : List
search_expression string
stats_dict object>.Dictionary
return List

RawBingSearch() public static method

public static RawBingSearch ( string search_expresson ) : string
search_expresson string
return string

SearchLocation() public static method

public static SearchLocation ( string id, string where ) : object>.Dictionary
id string
where string
return object>.Dictionary

Property Details

days public static property

public static List days
return List