public StateMachineManagerDataService(
     ISessionIdProvider sessionIdProvider,
     ILocaleManager localeManager,
     IAssetsManager assetsManager,
     IScriptHost scriptHost)
 {
     this.sessionIdProvider = sessionIdProvider;
     this.localeManager     = localeManager;
     this.assetsManager     = assetsManager;
     this.scriptHost        = scriptHost;
 }
Пример #2
0
        public MainViewModel(IAccountManager accountManager,
                             IExtendedNavigationService navigationService,
                             ILocaleManager localeManager,
                             IDialogService dialogService)
        {
            this.accountManager    = accountManager;
            this.navigationService = navigationService;
            this.localeManager     = localeManager;
            this.dialogService     = dialogService;

            OnLoadCommand           = new RelayCommand(OnLoadCommandProcessor);
            LogoutCommand           = new RelayCommand(LogoutCommandProcessor);
            ShowTransactionsCommand = new RelayCommand(ShowTransactionsCommandProcessor);
            NewTransactionCommand   = new RelayCommand(NewTransactionCommandProcessor);
        }