C# Class BiosealMVCWeb.Models.HtmlHelpers

显示文件 Open project: coolnameismy/dev-tips

Public Methods

Method Description
UrlAdd ( this helper, System.Web.HttpRequestBase request, string queryName, object queryValue ) : string

UrlRemove ( this helper, System.Web.HttpRequestBase request, string queryName ) : string
UrlRemove ( this helper, System.Web.HttpRequestBase request, string queryName, object queryValue ) : string
UrlSet ( this helper, System.Web.HttpRequestBase request, string queryName, object queryValue ) : string

Private Methods

Method Description
CreateUrl ( string path, NameValueCollection query ) : string

Method Details

UrlAdd() public static method

public static UrlAdd ( this helper, System.Web.HttpRequestBase request, string queryName, object queryValue ) : string
helper this
request System.Web.HttpRequestBase
queryName string
queryValue object
return string

UrlRemove() public static method

public static UrlRemove ( this helper, System.Web.HttpRequestBase request, string queryName ) : string
helper this
request System.Web.HttpRequestBase
queryName string
return string

UrlRemove() public static method

public static UrlRemove ( this helper, System.Web.HttpRequestBase request, string queryName, object queryValue ) : string
helper this
request System.Web.HttpRequestBase
queryName string
queryValue object
return string

UrlSet() public static method

public static UrlSet ( this helper, System.Web.HttpRequestBase request, string queryName, object queryValue ) : string
helper this
request System.Web.HttpRequestBase
queryName string
queryValue object
return string