示例#1
0
        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 OnlinePlayerDetailsViewModel(
     SearchManager searchManager, 
     InputTextViewModel inputTextViewModel,
     ChatManager chatManager, 
     ToastNotificator toastNotificator,
     FriendsManager friendsManager, 
     BlacklistManager blacklistManager)
 {
     _searchManager = searchManager;
     _inputTextViewModel = inputTextViewModel;
     _chatManager = chatManager;
     _toastNotificator = toastNotificator;
     _friendsManager = friendsManager;
     _blacklistManager = blacklistManager;
 }
 public SearchPlayersViewModel(SearchManager searchManager)
 {
     _searchManager = searchManager;
 }