• About project
  • Code documentation
Show / Hide Table of Contents
  • EduCATS
    • App
  • EduCATS.Configuration
    • AppConfig
  • EduCATS.Constants
    • GlobalConsts
  • EduCATS.Controls
    • CustomWebView
  • EduCATS.Controls.Pickers
    • GroupsPickerView
    • SubjectsPickerView
  • EduCATS.Controls.RoundedListView
    • RoundedListView
  • EduCATS.Controls.RoundedListView.Enums
    • RoundedListTypeEnum
  • EduCATS.Controls.RoundedListView.Interfaces
    • IRoundedListType
  • EduCATS.Controls.RoundedListView.Selectors
    • RoundedListTemplateSelector
  • EduCATS.Controls.SwitchFrame
    • SwitchFrame
  • EduCATS.Data
    • DataAccess
    • DataAccess<T>
  • EduCATS.Data.Caching
    • DataCaching<T>
  • EduCATS.Data.Interfaces
    • IDataAccess<T>
  • EduCATS.Data.Models
    • CalendarModel
    • CalendarSubjectModel
    • ConceptModel
    • ConceptModelTest
    • ExtendedTestResultModel
    • FileDetailsModel
    • FileDetailsModelTest
    • FilesModel
    • FilesModelTest
    • GroupItemModel
    • GroupModel
    • LabDetailsModel
    • LabProtectionModel
    • LabsModel
    • LecturesDetailsModel
    • LecturesGroupsModel
    • LecturesModel
    • LecturesStudentModel
    • NewsModel
    • NewsSubjectModel
    • RecommendationModel
    • RootConceptModel
    • StatsMarkModel
    • StatsModel
    • StatsStudentModel
    • StatsVisitingModel
    • SubjectModel
    • TestAnswerModel
    • TestDetailsModel
    • TestModel
    • TestQuestionDetailsModel
    • TestQuestionModel
    • TestResultsModel
    • UserLoginModel
    • UserModel
    • UserProfileModel
  • EduCATS.Data.Models.Calendar
    • CalendarSubjectModelTest
    • Schedule
    • Teacher
  • EduCATS.Data.Models.Registration
    • RegistrationModel
  • EduCATS.Data.Models.User
    • DeleteAccountModel
    • SecondUserModel
  • EduCATS.Data.User
    • AppUserData
    • UserTypeEnum
  • EduCATS.Demo
    • AppDemo
    • AppDemoType
  • EduCATS.Fonts
    • FontExclude
    • FontSizeController
    • FontsController
  • EduCATS.Helpers
    • ConverterSize
  • EduCATS.Helpers.Date
    • DateHelper
  • EduCATS.Helpers.Date.Enums
    • WeekEnum
  • EduCATS.Helpers.Date.Extensions
    • DateTimeExtensions
  • EduCATS.Helpers.Extensions
    • ListExtensions
    • StringExtensions
  • EduCATS.Helpers.Files
    • FileManager
    • IFileManager
  • EduCATS.Helpers.Forms
    • IPlatformServices
    • PlatformServices
  • EduCATS.Helpers.Forms.Converters
    • Base64ToImageSourceConverter
    • DoubleListToRadarChartConverter
    • StringToColorConverter
    • StringToImageSourceConverter
  • EduCATS.Helpers.Forms.Devices
    • AppDevice
    • IDevice
  • EduCATS.Helpers.Forms.Dialogs
    • AppDialogs
    • IDialogs
  • EduCATS.Helpers.Forms.Effects
    • DisabledShiftEffect
  • EduCATS.Helpers.Forms.Pages
    • AppPages
    • IPages
  • EduCATS.Helpers.Forms.Settings
    • AppPrefs
    • IPreferences
  • EduCATS.Helpers.Forms.Speech
    • SpeechController
  • EduCATS.Helpers.Forms.Styles
    • AppStyles
  • EduCATS.Helpers.Json
    • JsonController
    • JsonController<T>
  • EduCATS.Helpers.Logs
    • AppLogs
  • EduCATS.Networking
    • Links
    • RequestController
    • Servers
  • EduCATS.Networking.AppServices
    • AppServices
    • AppServicesController
    • AppWebServiceController
  • EduCATS.Networking.Models
    • ForgotPasswordModel
  • EduCATS.Networking.Models.Eemc
    • RootConceptsPostModel
  • EduCATS.Networking.Models.Login
    • ServerError
    • TokenCredentials
    • TokenModel
    • UserCredentials
  • EduCATS.Networking.Models.SaveMarks
    • LabMarks
    • LaboratoryWorksModel
    • LabsVisitingList
    • LabsVisitingMark
    • LecturesMarkViewData
    • ListSaveMarksVisiting
    • SaveMarksCalendarData
    • VisitingLecturesList
  • EduCATS.Networking.Models.SaveMarks.LabSchedule
    • ScheduleProtectionLabs
    • TakedLab
    • TakedLabs
  • EduCATS.Networking.Models.SaveMarks.LabShedule
    • ScheduleProtectLabs
  • EduCATS.Networking.Models.SaveMarks.Labs
    • Laboratories
  • EduCATS.Networking.Models.SaveMarks.Practicals
    • GroupAndSubjModel
    • PracticialMark
    • PracticialMarks
    • PracticialVisMark
    • Practs
    • SchedulePracticials
  • EduCATS.Networking.Models.Testing
    • TestAnswerDetailsPostModel
    • TestAnswerPostModel
  • EduCATS.Pages
    • ViewModel
  • EduCATS.Pages.Eemc.ViewModels
    • EemcPageViewModel
  • EduCATS.Pages.Eemc.Views
    • EemcPageView
  • EduCATS.Pages.Eemc.Views.ViewCell
    • EemcPageViewCell
  • EduCATS.Pages.Files.Models
    • FilesPageModel
  • EduCATS.Pages.Files.ViewModels
    • FilesPageViewModel
  • EduCATS.Pages.Files.Views
    • FilesPageView
  • EduCATS.Pages.Files.Views.ViewCells
    • FilesPageViewCell
  • EduCATS.Pages.ForgotPassword.ViewModels
    • ForgotPasswordPageViewModel
  • EduCATS.Pages.ForgotPassword.Views
    • ForgotPasswordPageView
  • EduCATS.Pages.Learning.Models
    • LearningPageModel
  • EduCATS.Pages.Learning.ViewModels
    • LearningPageViewModel
  • EduCATS.Pages.Learning.Views
    • LearningPageView
  • EduCATS.Pages.Learning.Views.ViewCells
    • LearningPageViewCell
  • EduCATS.Pages.Login.ViewModels
    • LoginPageViewModel
  • EduCATS.Pages.Login.Views
    • LoginPageView
  • EduCATS.Pages.Main
    • MainPageView
  • EduCATS.Pages.Parental.FindGroup.Models
    • GroupInfo
    • Subject
  • EduCATS.Pages.Parental.FindGroup.ViewModels
    • FindGroupPageViewModel
  • EduCATS.Pages.Parental.FindGroup.Views
    • FindGroupPageView
  • EduCATS.Pages.Parental.Statistics.Views
    • ParentalStudentPageView
  • EduCATS.Pages.Pickers
    • GroupsViewModel
    • GroupsViewModel.GroupEventHandler
    • SubjectsViewModel
    • SubjectsViewModel.SubjectEventHandler
  • EduCATS.Pages.Recommendations.Models
    • RecommendationsPageModel
  • EduCATS.Pages.Recommendations.ViewModels
    • RecommendationsPageViewModel
  • EduCATS.Pages.Recommendations.Views
    • RecommendationsPageView
  • EduCATS.Pages.Recommendations.Views.ViewCells
    • RecommendationsPageViewCell
  • EduCATS.Pages.Registration.ViewModels
    • RegistrationPageViewModel
  • EduCATS.Pages.Registration.Views
    • RegistrationPageView
  • EduCATS.Pages.SaveLabsAndPracticeMarks.ViewModels
    • SavePracticeAndLabsPageView
    • SaveSingleStudentMarkPageViewModel
  • EduCATS.Pages.SaveLabsAndPracticeMarks.Views
    • SavePracticeAndLabsPageViewModel
    • SaveSingleStudentMarkPageView
  • EduCATS.Pages.SaveMarks
    • SaveLabs
    • SaveLabsSingle
    • SaveLectures
    • SavePractSingle
    • SavePracticial
  • EduCATS.Pages.SaveMarks.ViewModels
    • SaveMarksPageViewModel
  • EduCATS.Pages.SaveMarks.Views
    • SaveMarksPageView
  • EduCATS.Pages.Settings.About.ViewModels
    • AboutPageViewModel
  • EduCATS.Pages.Settings.About.Views
    • AboutPageView
  • EduCATS.Pages.Settings.Base.Models
    • SettingsPageModel
  • EduCATS.Pages.Settings.Base.ViewModels
    • SettingsPageViewModel
  • EduCATS.Pages.Settings.Base.Views
    • SettingsPageView
  • EduCATS.Pages.Settings.Fonts.Models
    • FontsPageModel
  • EduCATS.Pages.Settings.Fonts.ViewModels
    • FontsPageViewModel
  • EduCATS.Pages.Settings.Fonts.Views
    • FontsPageView
  • EduCATS.Pages.Settings.Language.Models
    • LanguagePageModel
  • EduCATS.Pages.Settings.Language.ViewModels
    • LanguagePageViewModel
  • EduCATS.Pages.Settings.Language.Views
    • LanguagePageView
  • EduCATS.Pages.Settings.Profile.ViewModels
    • ProfilePageViewModel
  • EduCATS.Pages.Settings.Profile.Views
    • ProfilePageView
  • EduCATS.Pages.Settings.Server.Models
    • ServerPageModel
  • EduCATS.Pages.Settings.Server.ViewModels
    • ServerPageViewModel
  • EduCATS.Pages.Settings.Server.Views
    • ServerPageView
  • EduCATS.Pages.Settings.Themes.Models
    • ThemePageModel
  • EduCATS.Pages.Settings.Themes.ViewModels
    • ThemePageViewModel
  • EduCATS.Pages.Settings.Themes.Views
    • ThemePageView
  • EduCATS.Pages.Settings.Views.Base.ViewCells
    • CheckboxViewCell
    • SettingsPageViewCell
  • EduCATS.Pages.Statistics.Base.Models
    • StatsPageModel
  • EduCATS.Pages.Statistics.Base.ViewModels
    • StatsPageViewModel
  • EduCATS.Pages.Statistics.Base.Views
    • StatsPageView
  • EduCATS.Pages.Statistics.Base.Views.ViewCells
    • StatsPageViewCell
  • EduCATS.Pages.Statistics.Enums
    • StatsPageEnum
  • EduCATS.Pages.Statistics.Marks.Models
    • VisitingPageModel
  • EduCATS.Pages.Statistics.Marks.Views.ViewCells
    • VisitingPageViewCell
  • EduCATS.Pages.Statistics.Results.Models
    • InfoLecturesModel
    • Lectures
    • StatsPageLabsRatingModel
    • StatsPageLabsVisitingModel
    • StatsPagePractiseVisitingModel
    • StatsResultsPageModel
    • Theme
  • EduCATS.Pages.Statistics.Results.ViewModels
    • StatsResultsPageViewModel
  • EduCATS.Pages.Statistics.Results.Views
    • StatsResultsPageView
  • EduCATS.Pages.Statistics.Results.Views.ViewCells
    • StatsResultsPageViewCell
  • EduCATS.Pages.Statistics.Students.Models
    • StudentsPageModel
  • EduCATS.Pages.Statistics.Students.ViewModels
    • StudentsPageViewModel
  • EduCATS.Pages.Statistics.Students.Views
    • StudentsPageView
  • EduCATS.Pages.Statistics.Students.Views.ViewCells
    • StudentsPageViewCell
  • EduCATS.Pages.Testing.Base.Models
    • TestingGroupModel
  • EduCATS.Pages.Testing.Base.ViewModels
    • TestingPageViewModel
  • EduCATS.Pages.Testing.Base.Views
    • TestingPageView
  • EduCATS.Pages.Testing.Base.Views.ViewCells
    • TestingHeaderViewCell
    • TestingPageViewCell
  • EduCATS.Pages.Testing.Passing.Models
    • TestPassingAnswerModel
    • TestPassingPageModel
  • EduCATS.Pages.Testing.Passing.ViewModels
    • TestPassingPageViewModel
  • EduCATS.Pages.Testing.Passing.Views
    • TestPassingPageView
  • EduCATS.Pages.Testing.Passing.Views.ViewCells
    • TestAnswerDataTemplateSelector
    • TestEditableAnswerViewCell
    • TestMovableAnswerViewCell
    • TestMultipleAnswerViewCell
    • TestSingleAnswerViewCell
  • EduCATS.Pages.Testing.Results.ViewModels
    • TestingResultsPageViewModel
  • EduCATS.Pages.Testing.Results.Views
    • TestingResultsPageView
  • EduCATS.Pages.Testing.Results.Views.ViewCells
    • TestingResultsViewCell
  • EduCATS.Pages.Today.Base.Models
    • CalendarSubjectsModel
    • CalendarViewDayModel
    • NewsPageModel
    • SubjectPageModel
  • EduCATS.Pages.Today.Base.ViewModels
    • CalendarViewModel
    • TodayPageViewModel
  • EduCATS.Pages.Today.Base.Views
    • TodayPageView
  • EduCATS.Pages.Today.Base.Views.ViewCells
    • CalendarCarouselViewCell
    • CalendarCollectionViewCell
    • CalendarSubjectsViewCell
    • NewsPageViewCell
  • EduCATS.Pages.Today.NewsDetails.ViewModels
    • NewsDetailsPageViewModel
  • EduCATS.Pages.Today.NewsDetails.Views
    • NewsDetailsPageView
  • EduCATS.Themes
    • AppTheme
    • Theme
  • EduCATS.Themes.DependencyServices
    • ThemePlatformSpecific
  • EduCATS.Themes.DependencyServices.Interfaces
    • IThemeNative
  • EduCATS.Themes.Interfaces
    • ITheme
  • EduCATS.Themes.Templates
    • DarkTheme
    • DefaultTheme

Class RegistrationPageViewModel

Inheritance
object
ViewModel
RegistrationPageViewModel
Implements
INotifyPropertyChanged
Inherited Members
ViewModel.PropertyChanged
ViewModel.SetProperty<T>(ref T, T, string)
ViewModel.OnPropertyChanged(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: EduCATS.Pages.Registration.ViewModels
Assembly: EduCATS.dll
Syntax
public class RegistrationPageViewModel : ViewModel, INotifyPropertyChanged

Constructors

RegistrationPageViewModel(IPlatformServices)

Declaration
public RegistrationPageViewModel(IPlatformServices services)
Parameters
Type Name Description
IPlatformServices services

Fields

_services

Declaration
public readonly IPlatformServices _services
Field Value
Type Description
IPlatformServices

Properties

AnswerToSecretQuestion

Secret question property.

Declaration
public string AnswerToSecretQuestion { get; set; }
Property Value
Type Description
string

ConfirmPassword

Confirm password property.

Declaration
public string ConfirmPassword { get; set; }
Property Value
Type Description
string

Group

Group Number property.

Declaration
public GroupItemModel Group { get; set; }
Property Value
Type Description
GroupItemModel

HideConfirmPasswordCommand

Hide password command.

Declaration
public Command HideConfirmPasswordCommand { get; }
Property Value
Type Description
Command

HidePasswordCommand

Hide password command.

Declaration
public Command HidePasswordCommand { get; }
Property Value
Type Description
Command

IsConfirmPasswordHidden

Property for checking if confirm password is hidden.

Declaration
public bool IsConfirmPasswordHidden { get; set; }
Property Value
Type Description
bool

IsPasswordHidden

Property for checking if password is hidden.

Declaration
public bool IsPasswordHidden { get; set; }
Property Value
Type Description
bool

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
string

Password

Password property.

Declaration
public string Password { get; set; }
Property Value
Type Description
string

Patronymic

Declaration
public string Patronymic { get; set; }
Property Value
Type Description
string

QuestionId

Secret question property.

Declaration
public string QuestionId { get; set; }
Property Value
Type Description
string

RegisterCommand

Login command.

Declaration
public Command RegisterCommand { get; }
Property Value
Type Description
Command

SelectedQuestionId

Secret question property.

Declaration
public int SelectedQuestionId { get; set; }
Property Value
Type Description
int

Surname

Declaration
public string Surname { get; set; }
Property Value
Type Description
string

UserName

Declaration
public string UserName { get; set; }
Property Value
Type Description
string

Methods

CheckNameOfUser(string)

Declaration
public bool CheckNameOfUser(string nameOfUser)
Parameters
Type Name Description
string nameOfUser
Returns
Type Description
bool

LatinPassword()

Declaration
public bool LatinPassword()
Returns
Type Description
bool

LatinUserName()

Declaration
public bool LatinUserName()
Returns
Type Description
bool

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
Type Name Description
string username
string name
string surname
string patronymic
string password
string confirmPassword
int group
int questionId
string answerToSecretQuestion
Returns
Type Description
Task<KeyValuePair<string, HttpStatusCode>>

UpperCaseLettersInPassword()

Declaration
public int UpperCaseLettersInPassword()
Returns
Type Description
int

VerifyUserNameAsync(string)

Declaration
public Task<KeyValuePair<string, HttpStatusCode>> VerifyUserNameAsync(string username)
Parameters
Type Name Description
string username
Returns
Type Description
Task<KeyValuePair<string, HttpStatusCode>>

checkCredentials()

Declaration
public bool checkCredentials()
Returns
Type Description
bool

hideConfirmPassword()

Hides or shows a confirm password.

Declaration
protected void hideConfirmPassword()

hidePassword()

Declaration
protected void hidePassword()

startRegister()

Declaration
public Task<Task<object>> startRegister()
Returns
Type Description
Task<Task<object>>

Implements

INotifyPropertyChanged
In this article
Back to top Copyright (C) EduCATS. Generated by DocFX.