示例#1
0
 public AccountInfoViewModelTests()
 {
     _wargamingServiceMock             = new Mock <IWargamingService>();
     _applicationMessageDicpatcherMock = new Mock <IApplicationMessagesDispatcher>();
     _accountInfoViewModel             = new AccountInfoViewModel(
         _wargamingServiceMock.Object,
         _applicationMessageDicpatcherMock.Object);
 }
 public MainWindowViewModel(
     IAccountsSearchViewModel accountsSearchViewModel,
     IAccountsSearchHistoryViewModel accountsSearchHistoryViewModel,
     IAccountInfoViewModel accountInfoViewModel
     )
 {
     AccountsSearchViewModel        = accountsSearchViewModel;
     AccountsSearchHistoryViewModel = accountsSearchHistoryViewModel;
     AccountInfoViewModel           = accountInfoViewModel;
 }