C# Class SpeakerNet.Services.ActionUrlBuilder

Inheritance: IActionUrlBuilder
Show file Open project: dotnet-koelnbonn/SpeakerNet

Public Methods

Method Description
ActionUrlBuilder ( System.Web.HttpContextBase httpContext, System.Web.HttpRequestBase httpRequest ) : System
GetActionUrl ( string action, string controller ) : string
GetActionUrl ( string action, string controller, object routeValues ) : string

Private Methods

Method Description
CreateRequestContext ( ) : System.Web.Routing.RequestContext
GetBaseUrl ( ) : string
GetUrlHelper ( ) : System.Web.Mvc.UrlHelper

Method Details

ActionUrlBuilder() public method

public ActionUrlBuilder ( System.Web.HttpContextBase httpContext, System.Web.HttpRequestBase httpRequest ) : System
httpContext System.Web.HttpContextBase
httpRequest System.Web.HttpRequestBase
return System

GetActionUrl() public method

public GetActionUrl ( string action, string controller ) : string
action string
controller string
return string

GetActionUrl() public method

public GetActionUrl ( string action, string controller, object routeValues ) : string
action string
controller string
routeValues object
return string