C# 클래스 Upac.GoogleSiteSearch.GoogleSiteSearch

Represents and handles a single Google SiteSearch query.
상속: IDisposable
파일 보기 프로젝트 열기: 1508/upac-for-umbraco 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the Google SiteSearch query.

GoogleSiteSearch ( string query ) : System

Initializes a new instance of the GoogleSiteSearch class.

GoogleSiteSearch ( string query, string site ) : System

Initializes a new instance of the GoogleSiteSearch class.

Search ( string start, string pageSize ) : List

Performs the search, and returns the results in the range from the start and to the page size index.

보호된 메소드들

메소드 설명
DoSearch ( string url ) : string

Does the search.

FormatQueryString ( string cx, string query, string start, string pageSize, string site ) : string

Formats the query string.

ParseResult ( string data ) : GoogleSiteSearchParserResult

Parses the result.

메소드 상세

Dispose() 공개 메소드

Disposes the Google SiteSearch query.
public Dispose ( ) : void
리턴 void

DoSearch() 보호된 메소드

Does the search.
protected DoSearch ( string url ) : string
url string The URL.
리턴 string

FormatQueryString() 보호된 메소드

Formats the query string.
protected FormatQueryString ( string cx, string query, string start, string pageSize, string site ) : string
cx string The cx.
query string The query.
start string The start.
pageSize string Size of the page.
site string
리턴 string

GoogleSiteSearch() 공개 메소드

Initializes a new instance of the GoogleSiteSearch class.
public GoogleSiteSearch ( string query ) : System
query string Query to search for in the google site search index.
리턴 System

GoogleSiteSearch() 공개 메소드

Initializes a new instance of the GoogleSiteSearch class.
public GoogleSiteSearch ( string query, string site ) : System
query string Query to search for in the google site search index.
site string
리턴 System

ParseResult() 보호된 메소드

Parses the result.
protected ParseResult ( string data ) : GoogleSiteSearchParserResult
data string The data.
리턴 GoogleSiteSearchParserResult

Search() 공개 메소드

Performs the search, and returns the results in the range from the start and to the page size index.
public Search ( string start, string pageSize ) : List
start string Index of where in the total result to return results.
pageSize string Number of results to return.
리턴 List