C# Class search, ReSharperCourse

Inheritance: System.Web.Services.WebService
显示文件 Open project: rasmuskl/ReSharperCourse Class Usage Examples

Protected Methods

Method Description
GetContent ( string description, string content ) : string

Shortens the content to fit to a search result

OnLoad ( EventArgs e ) : void
ShortenUrl ( string uri ) : string

Removes the comment anchor from the URL

Private Methods

Method Description
BindPaging ( int results, int page ) : void
BindSearchResult ( List list ) : void
SearchByApml ( Uri url ) : void
rep_ItemDataBound ( object sender, RepeaterItemEventArgs, e ) : void

Handles the ItemDataBound event of the rep control.

Method Details

GetContent() protected method

Shortens the content to fit to a search result
protected GetContent ( string description, string content ) : string
description string
content string
return string

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e EventArgs
return void

ShortenUrl() protected method

Removes the comment anchor from the URL
protected ShortenUrl ( string uri ) : string
uri string
return string