C# Class afung.MangaWeb3.Client.Modal.LoginModal

Inheritance: ModalBase
Mostra file Open project: a-fung/MangaWeb3 Class Usage Examples

Public Methods

Method Description
GetUserName ( Action successCallback, Action failureCallback, bool showPrompt, bool skipCurrentUserInfo ) : void
InternalPrompt ( ) : void
Logout ( ) : void

Protected Methods

Method Description
Initialize ( ) : void
OnShown ( ) : void

Private Methods

Method Description
CancelButtonClicked ( jQueryApi.jQueryEvent e ) : void
CheckUserNameFailure ( Exception error ) : void
CheckUserNameSuccess ( JsonResponse response ) : void
CheckUserNameSuccess ( LoginResponse response, bool skipCurrentUserInfo ) : void
GetUserName ( Action successCallback ) : void
GetUserName ( Action successCallback, Action failureCallback ) : void
GetUserName ( Action successCallback, Action failureCallback, bool showPrompt ) : void
InternalHide ( ) : void
LoginFailure ( Exception error ) : void
LoginModal ( ) : System
LoginSuccess ( JsonResponse response ) : void
LoginSuccess ( LoginResponse response ) : void
LogoutSuccessful ( JsonResponse response ) : void
LogoutSuccessful ( LoginResponse response ) : void
Prompt ( ) : void
SubmitLogin ( jQueryApi.jQueryEvent e ) : void

Method Details

GetUserName() public static method

public static GetUserName ( Action successCallback, Action failureCallback, bool showPrompt, bool skipCurrentUserInfo ) : void
successCallback Action
failureCallback Action
showPrompt bool
skipCurrentUserInfo bool
return void

Initialize() protected method

protected Initialize ( ) : void
return void

InternalPrompt() public method

public InternalPrompt ( ) : void
return void

Logout() public static method

public static Logout ( ) : void
return void

OnShown() protected method

protected OnShown ( ) : void
return void