C# Class GuestBookWithModel.Controllers.AccountController

Inheritance: Controller
ファイルを表示 Open project: jeffreypalermo/mvc2inaction

Public Methods

Method Description
AccountController ( ) : System
AccountController ( IFormsAuthenticationService formsService, IMembershipService membershipService ) : System
ChangePasswordSuccess ( ) : ActionResult
LogOff ( ) : ActionResult
LogOn ( ) : ActionResult
Register ( ) : ActionResult

Protected Methods

Method Description
Initialize ( RequestContext requestContext ) : void
OnActionExecuting ( ActionExecutingContext filterContext ) : void

Private Methods

Method Description
ChangePassword ( ) : ActionResult
ChangePassword ( ChangePasswordModel model ) : ActionResult
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
LogOn ( LogOnModel model, bool rememberMe, string returnUrl ) : ActionResult
Register ( RegisterModel model ) : ActionResult

Method Details

AccountController() public method

public AccountController ( ) : System
return System

AccountController() public method

public AccountController ( IFormsAuthenticationService formsService, IMembershipService membershipService ) : System
formsService IFormsAuthenticationService
membershipService IMembershipService
return System

ChangePasswordSuccess() public method

public ChangePasswordSuccess ( ) : ActionResult
return ActionResult

Initialize() protected method

protected Initialize ( RequestContext requestContext ) : void
requestContext RequestContext
return void

LogOff() public method

public LogOff ( ) : ActionResult
return ActionResult

LogOn() public method

public LogOn ( ) : ActionResult
return ActionResult

OnActionExecuting() protected method

protected OnActionExecuting ( ActionExecutingContext filterContext ) : void
filterContext ActionExecutingContext
return void

Register() public method

public Register ( ) : ActionResult
return ActionResult