Class RegistrationPageViewModel
Inheritance
RegistrationPageViewModel
Assembly: EduCATS.dll
Syntax
public class RegistrationPageViewModel : ViewModel, INotifyPropertyChanged
Constructors
RegistrationPageViewModel(IPlatformServices)
Declaration
public RegistrationPageViewModel(IPlatformServices services)
Parameters
Fields
_services
Declaration
public readonly IPlatformServices _services
Field Value
Properties
AnswerToSecretQuestion
Secret question property.
Declaration
public string AnswerToSecretQuestion { get; set; }
Property Value
ConfirmPassword
Confirm password property.
Declaration
public string ConfirmPassword { get; set; }
Property Value
Group
Declaration
public GroupItemModel Group { get; set; }
Property Value
HideConfirmPasswordCommand
Declaration
public Command HideConfirmPasswordCommand { get; }
Property Value
HidePasswordCommand
Declaration
public Command HidePasswordCommand { get; }
Property Value
IsConfirmPasswordHidden
Property for checking if confirm password is hidden.
Declaration
public bool IsConfirmPasswordHidden { get; set; }
Property Value
IsPasswordHidden
Property for checking if password is hidden.
Declaration
public bool IsPasswordHidden { get; set; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
Password
Declaration
public string Password { get; set; }
Property Value
Patronymic
Declaration
public string Patronymic { get; set; }
Property Value
QuestionId
Secret question property.
Declaration
public string QuestionId { get; set; }
Property Value
RegisterCommand
Declaration
public Command RegisterCommand { get; }
Property Value
SelectedQuestionId
Secret question property.
Declaration
public int SelectedQuestionId { get; set; }
Property Value
Surname
Declaration
public string Surname { get; set; }
Property Value
UserName
Declaration
public string UserName { get; set; }
Property Value
Methods
CheckNameOfUser(string)
Declaration
public bool CheckNameOfUser(string nameOfUser)
Parameters
Type |
Name |
Description |
string |
nameOfUser |
|
Returns
LatinPassword()
Declaration
public bool LatinPassword()
Returns
LatinUserName()
Declaration
public bool LatinUserName()
Returns
RegistrationPostAsync(string, string, string, string, string, string, int, int, string)
Declaration
public Task<KeyValuePair<string, HttpStatusCode>> RegistrationPostAsync(string username, string name, string surname, string patronymic, string password, string confirmPassword, int group, int questionId, string answerToSecretQuestion)
Parameters
Returns
UpperCaseLettersInPassword()
Declaration
public int UpperCaseLettersInPassword()
Returns
VerifyUserNameAsync(string)
Declaration
public Task<KeyValuePair<string, HttpStatusCode>> VerifyUserNameAsync(string username)
Parameters
Type |
Name |
Description |
string |
username |
|
Returns
checkCredentials()
Declaration
public bool checkCredentials()
Returns
hideConfirmPassword()
Hides or shows a confirm password.
Declaration
protected void hideConfirmPassword()
hidePassword()
Declaration
protected void hidePassword()
startRegister()
Declaration
public Task<Task<object>> startRegister()
Returns
Implements