C# Class Spontaneous.WebApp.Services.Compare.WebSearchServices

显示文件 Open project: pashkov/Spontaneous Class Usage Examples

Public Methods

Method Description
GoogleSearchRestaurantDescription ( RestaurantBasicData rest, bool withRestaurantUpdate = false ) : List

Build query with BuildSearchQueryString function and execute google Custom Search

WebSearchServices ( ) : System

Private Methods

Method Description
AddSearchToRestaurant ( RestaurantBasicData rest, List searchResults ) : void
BuildSearchQueryString ( RestaurantBasicData rest ) : string

Method Details

GoogleSearchRestaurantDescription() public method

Build query with BuildSearchQueryString function and execute google Custom Search
public GoogleSearchRestaurantDescription ( RestaurantBasicData rest, bool withRestaurantUpdate = false ) : List
rest Spontaneous.DataModel.RestaurantBasicData
withRestaurantUpdate bool bool parameter for save results in Restaurants DB
return List

WebSearchServices() public method

public WebSearchServices ( ) : System
return System