Example #1
0
 public AccountsSearchHistoryViewModel(
     IApplicationMessagesDispatcher applicationMessagesDispatcher,
     ISearchHisoryDataAdapter searchHisoryDataAdapter)
 {
     _applicationMessagesDispatcher = applicationMessagesDispatcher;
     _searchHisoryDataAdapter       = searchHisoryDataAdapter;
     Accounts = new ObservableCollection <WotBlitzStatician.Model.AccountInfo>();
 }
 public AccountsSearchViewModel(
     IWargamingService wargamingService,
     IApplicationMessagesDispatcher applicationMessagesDispatcher)
 {
     ClearSearchCommand             = new RelayCommand(ClearSearch);
     _wargamingService              = wargamingService;
     _applicationMessagesDispatcher = applicationMessagesDispatcher;
 }
 public AccountInfoViewModel(
     IWargamingService wargamingService,
     IApplicationMessagesDispatcher applicationMessagesDispatcher)
 {
     _wargamingService = wargamingService;
     _applicationMessagesDispatcher = applicationMessagesDispatcher;
     AccountInfoViewState           = AccountInfoViewState.Initial;
     AccountPropertiesViewModel     = new AccountPropertiesViewModel();
     AccountTanksViewModel          = new AccountTanksViewModel();
     AchievementsViewModel          = new AchievementsViewModel();
 }