C# Class LyricsEngine.Google.GoogleSearchService

Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
Show file Open project: MediaPortal/MPTagThat

Public Methods

Method Description
CancelAsync ( object userState ) : void
GoogleSearchService ( ) : System.Diagnostics
doGetCachedPageAsync ( string key, string url ) : void
doGetCachedPageAsync ( string key, string url, object userState ) : void
doGoogleSearchAsync ( string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe ) : void
doGoogleSearchAsync ( string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe, object userState ) : void
doSpellingSuggestionAsync ( string key, string phrase ) : void
doSpellingSuggestionAsync ( string key, string phrase, object userState ) : void

Private Methods

Method Description
IsLocalFileSystemWebService ( string url ) : bool
OndoGetCachedPageOperationCompleted ( object arg ) : void
OndoGoogleSearchOperationCompleted ( object arg ) : void
OndoSpellingSuggestionOperationCompleted ( object arg ) : void
doGetCachedPage ( string key, string url ) : byte[]
doGoogleSearch ( string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe ) : GoogleSearchResult
doSpellingSuggestion ( string key, string phrase ) : string

Method Details

CancelAsync() public method

public CancelAsync ( object userState ) : void
userState object
return void

GoogleSearchService() public method

public GoogleSearchService ( ) : System.Diagnostics
return System.Diagnostics

doGetCachedPageAsync() public method

public doGetCachedPageAsync ( string key, string url ) : void
key string
url string
return void

doGetCachedPageAsync() public method

public doGetCachedPageAsync ( string key, string url, object userState ) : void
key string
url string
userState object
return void

doGoogleSearchAsync() public method

public doGoogleSearchAsync ( string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe ) : void
key string
q string
start int
maxResults int
filter bool
restrict string
safeSearch bool
lr string
ie string
oe string
return void

doGoogleSearchAsync() public method

public doGoogleSearchAsync ( string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe, object userState ) : void
key string
q string
start int
maxResults int
filter bool
restrict string
safeSearch bool
lr string
ie string
oe string
userState object
return void

doSpellingSuggestionAsync() public method

public doSpellingSuggestionAsync ( string key, string phrase ) : void
key string
phrase string
return void

doSpellingSuggestionAsync() public method

public doSpellingSuggestionAsync ( string key, string phrase, object userState ) : void
key string
phrase string
userState object
return void