메소드 | 설명 | |
---|---|---|
CrowbarViewContext ( string viewName ) : System |
Creates a new instance of CrowbarViewContext.
|
|
FindViewEngineResult ( System.Web.Mvc.ControllerContext controllerContext ) : System.Web.Mvc.ViewEngineResult |
Finds a view based on the specified view name.
|
|
GetRouteData ( ) : System.Web.Routing.RouteData |
Gets the route data that will be used by the request context.
|
|
SetAnonymousPrincipal ( ) : |
Sets the security principal to an anonymous user (no username), using a generic identity.
|
|
SetFormsAuthPrincipal ( string username, int timeout = 30 ) : |
Sets the security principal, using forms identity, in which the view should be rendered.
|
메소드 | 설명 | |
---|---|---|
GetBoolFromAppSettings ( string name, bool defaultValue ) : bool |
public CrowbarViewContext ( string viewName ) : System | ||
viewName | string | The name of the view that should be rendered. |
리턴 | System |
public FindViewEngineResult ( System.Web.Mvc.ControllerContext controllerContext ) : System.Web.Mvc.ViewEngineResult | ||
controllerContext | System.Web.Mvc.ControllerContext | The controller context. |
리턴 | System.Web.Mvc.ViewEngineResult |
public GetRouteData ( ) : System.Web.Routing.RouteData | ||
리턴 | System.Web.Routing.RouteData |
public SetAnonymousPrincipal ( ) : |
||
리턴 |
public SetFormsAuthPrincipal ( string username, int timeout = 30 ) : |
||
username | string | The username. |
timeout | int | The time, in minutes, for which the forms authentication cookie is valid. |
리턴 |