C# Class FrannHammer.AccountRegistrationTool.ViewModels.MainVm

Inheritance: INotifyPropertyChanged
Show file Open project: Frannsoft/FrannHammer Class Usage Examples

Public Methods

Method Description
LoginAs ( string username, string password ) : void
Register ( string username, string email, string confirmEmail, string password, string confirmpassword, bool>.Dictionary roles ) : void

Protected Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Private Methods

Method Description
GetServiceLocationFromAppConfig ( ) : string
RegisterUser ( RegisterUserModel newUserModel ) : void
VerifyNewUserCreds ( string username, string email, string confirmEmail, string password, string confirmpassword ) : bool

Method Details

LoginAs() public method

public LoginAs ( string username, string password ) : void
username string
password string
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void

Register() public method

public Register ( string username, string email, string confirmEmail, string password, string confirmpassword, bool>.Dictionary roles ) : void
username string
email string
confirmEmail string
password string
confirmpassword string
roles bool>.Dictionary
return void