C# Class AccountProfile.Controllers.AccountController

Inheritance: Controller
显示文件 Open project: jeffreypalermo/mvc2inaction

Public Methods

Method Description
AccountController ( ) : System
AccountController ( IFormsAuthenticationService formsService, IMembershipService membershipService ) : System
AccountController ( IFormsAuthenticationService formsService, IMembershipService membershipService, IProfileRepository profileRepository ) : System
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
LogOn ( ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult

Protected Methods

Method Description
Initialize ( System.Web.Routing.RequestContext requestContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Private Methods

Method Description
ChangePassword ( ) : System.Web.Mvc.ActionResult
ChangePassword ( ChangePasswordModel model ) : System.Web.Mvc.ActionResult
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
LogOn ( LogOnModel model, bool rememberMe, string returnUrl ) : System.Web.Mvc.ActionResult
LogOn ( LogOnModel model, string returnUrl ) : System.Web.Mvc.ActionResult
LogOnWidget ( ) : System.Web.Mvc.ViewResult
Register ( RegisterModel model ) : System.Web.Mvc.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

AccountController() public method

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

ChangePasswordSuccess() public method

public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Initialize() protected method

protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void
requestContext System.Web.Routing.RequestContext
return void

LogOff() public method

public LogOff ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

LogOn() public method

public LogOn ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

OnActionExecuting() protected method

protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
return void

Register() public method

public Register ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult