public AboNavigationManager(NavigationBuilder navigationBuilder, PopupController popupController, AccountManager accountManager) : base(navigationBuilder, popupController) { _accountManager = accountManager; }
public AppManager(ConnectionManager connectionManager, IDeviceInfo deviceInfo, AccountManager accountManager) : base(connectionManager) { _deviceInfo = deviceInfo; _accountManager = accountManager; }
public MainViewModel() { IsBusy = true; var container = Bootstrapper.Run(); _appManager = container.Resolve<AppManager>(); _chatManager = container.Resolve<ChatManager>(); _accountManager = container.Resolve<AccountManager>(); _searchManager = container.Resolve<SearchManager>(); InitAsync(); }
public ChatManager(ConnectionManager connectionManager, ChatServiceProxy chatServiceProxy, INotificationService notificationService, AccountManager accountManager) : base(connectionManager) { _chatServiceProxy = chatServiceProxy; _notificationService = notificationService; _accountManager = accountManager; History = _messagesSubject = new ExtendedCcObservableCollection<Event>(); OnlineUsers = _onlinePlayersSubject = new ExtendedCcObservableCollection<User>(); }
public RegistrationViewModel(AccountManager accountManager, AppManager appManager) { _accountManager = accountManager; _appManager = appManager; NameValidator = new Validator(IsNameValid); PasswordValidator = new Validator(IsPasswordValid); Sexes = new[] { AppResources.Male, AppResources.Female }; Countries = CountriesList.Countries; //TODO load from file Ages = Enumerable.Range(13, 120).ToArray(); SelectedSex = Sexes[0]; SelectedCountry = TryGetCurrentCountry(); SelectedAge = 18; }
public LoginViewModel(AccountManager accountManager) { _accountManager = accountManager; NameValidator = new Validator(IsNameValid); PasswordValidator = new Validator(IsPasswordValid); }
public PhotoSelectorViewModel(AccountManager accountManager) { _accountManager = accountManager; }
public OnlineProfileViewModel(PhotoSelectorViewModel photoSelectorViewModel, AccountManager accountManager) { _photoSelectorViewModel = photoSelectorViewModel; _accountManager = accountManager; Player = new PlayerViewModel(accountManager.CurrentUser); }