C# Class Serenity.Web.MvcFakes.FakeControllerContext

Inheritance: ControllerContext
显示文件 Open project: volkanceylan/Serenity

Public Methods

Method Description
FakeControllerContext ( IController controller ) : System.Collections.Specialized
FakeControllerContext ( IController controller, System.Web.HttpCookieCollection cookies ) : System.Collections.Specialized
FakeControllerContext ( IController controller, NameValueCollection formParams ) : System.Collections.Specialized
FakeControllerContext ( IController controller, NameValueCollection formParams, NameValueCollection queryStringParams ) : System.Collections.Specialized
FakeControllerContext ( IController controller, System.Web.SessionState.SessionStateItemCollection sessionItems ) : System.Collections.Specialized
FakeControllerContext ( IController controller, string userName ) : System.Collections.Specialized
FakeControllerContext ( IController controller, string userName, string roles ) : System.Collections.Specialized
FakeControllerContext ( IController controller, string userName, string roles, NameValueCollection formParams, NameValueCollection queryStringParams, System.Web.HttpCookieCollection cookies, System.Web.SessionState.SessionStateItemCollection sessionItems ) : System.Collections.Specialized

Method Details

FakeControllerContext() public method

public FakeControllerContext ( IController controller ) : System.Collections.Specialized
controller IController
return System.Collections.Specialized

FakeControllerContext() public method

public FakeControllerContext ( IController controller, System.Web.HttpCookieCollection cookies ) : System.Collections.Specialized
controller IController
cookies System.Web.HttpCookieCollection
return System.Collections.Specialized

FakeControllerContext() public method

public FakeControllerContext ( IController controller, NameValueCollection formParams ) : System.Collections.Specialized
controller IController
formParams System.Collections.Specialized.NameValueCollection
return System.Collections.Specialized

FakeControllerContext() public method

public FakeControllerContext ( IController controller, NameValueCollection formParams, NameValueCollection queryStringParams ) : System.Collections.Specialized
controller IController
formParams System.Collections.Specialized.NameValueCollection
queryStringParams System.Collections.Specialized.NameValueCollection
return System.Collections.Specialized

FakeControllerContext() public method

public FakeControllerContext ( IController controller, System.Web.SessionState.SessionStateItemCollection sessionItems ) : System.Collections.Specialized
controller IController
sessionItems System.Web.SessionState.SessionStateItemCollection
return System.Collections.Specialized

FakeControllerContext() public method

public FakeControllerContext ( IController controller, string userName ) : System.Collections.Specialized
controller IController
userName string
return System.Collections.Specialized

FakeControllerContext() public method

public FakeControllerContext ( IController controller, string userName, string roles ) : System.Collections.Specialized
controller IController
userName string
roles string
return System.Collections.Specialized

FakeControllerContext() public method

public FakeControllerContext ( IController controller, string userName, string roles, NameValueCollection formParams, NameValueCollection queryStringParams, System.Web.HttpCookieCollection cookies, System.Web.SessionState.SessionStateItemCollection sessionItems ) : System.Collections.Specialized
controller IController
userName string
roles string
formParams System.Collections.Specialized.NameValueCollection
queryStringParams System.Collections.Specialized.NameValueCollection
cookies System.Web.HttpCookieCollection
sessionItems System.Web.SessionState.SessionStateItemCollection
return System.Collections.Specialized