/// <summary> /// Initializes a new instance of the <see cref="RegisterUserViewModel" /> class. /// </summary> /// <param name="frameNavigation">The frame navigation.</param> /// <param name="userProfilesAccess">The user profiles access.</param> /// <param name="passwordProcessingService">The password processing service.</param> /// <param name="loadingIndicatiorModule">The loading indicatior module.</param> public RegisterUserViewModel(IMainFrameNavigationService frameNavigation, IUserProfilesAccess userProfilesAccess, IPasswordProcessingService passwordProcessingService, ILoadingIndicatiorModule loadingIndicatiorModule) { _frameNavigation = frameNavigation; ErrorStatus = new RehabilitationErrorStatus(); _userProfilesAccess = userProfilesAccess; _passwordProcessingService = passwordProcessingService; LoadingModule = loadingIndicatiorModule; }
/// <summary> /// Initializes a new instance of the <see cref="CurrentUserModule" /> class. /// </summary> /// <param name="passwordProcessingService">The password processing service.</param> /// <param name="userProfilesAccess">The user profiles access.</param> /// <param name="mainFrameNavigationService">The main frame navigation service.</param> public CurrentUserModule(IPasswordProcessingService passwordProcessingService, IUserProfilesAccess userProfilesAccess, IMainFrameNavigationService mainFrameNavigationService) { _passwordProcessingService = passwordProcessingService; _userProfilesAccess = userProfilesAccess; _mainFrameNavigationService = mainFrameNavigationService; }
/// <summary> /// Initializes a new instance of the <see cref="LoginViewModel" /> class. /// </summary> /// <param name="mainFrameNavigationService">The main frame navigation service.</param> /// <param name="userProfilesAccess">The user profiles access.</param> /// <param name="currentUserModule">The current user module.</param> /// <param name="loadingIndicatiorModule">The loading indicatior module.</param> public LoginViewModel(IMainFrameNavigationService mainFrameNavigationService, IUserProfilesAccess userProfilesAccess, ICurrentUserModule currentUserModule, ILoadingIndicatiorModule loadingIndicatiorModule) { _mainFrameNavigationService = mainFrameNavigationService; _currentUserModule = currentUserModule; LoadingModule = loadingIndicatiorModule; }