Esempio n. 1
0
 public AdunisViewModel(IMvxNavigationService navigationService, IAdunisRepository adunisRepository, IAdunisSync adunisSync, IUserInteractionService userInteraction)
 {
     this.NavigationService = navigationService;
     this.adunisRepository  = adunisRepository;
     this.adunisSync        = adunisSync;
     this.userInteraction   = userInteraction;
 }
 public MenuViewModel(IMvxNavigationService navigationService, IUserInteractionService userInteraction, IMenuRepository menuRepository, IMenuSync menuSync)
 {
     this.NavigationService = navigationService;
     this.userInteraction   = userInteraction;
     this.menuRepository    = menuRepository;
     this.menuSync          = menuSync;
 }
 public LoginController(
     LoginService loginService,
     IUserInteractionService interaction)
 {
     _loginService = loginService;
     _interaction  = interaction;
 }
Esempio n. 4
0
 public LoginController(LoginService loginService, IUserInteractionService interaction,
                        IHostingEnvironment environment)
 {
     _loginService = loginService;
     _interaction  = interaction;
     _environment  = environment;
 }
 public NewsViewModel(IMvxNavigationService navigationService, INewsRepository newsRepository, INewsSync newsSync, IUserInteractionService userInteraction)
 {
     this.NavigationService = navigationService;
     this.newsRepository    = newsRepository;
     this.newsSync          = newsSync;
     this.userInteraction   = userInteraction;
 }
Esempio n. 6
0
        public BrowserHubWindowViewModel(
            IApplicationController applicationController,
            IComparer <FileSystemArtifactViewModel> viewModelComparer,
            IUserInteractionService userInteractionService,
            IVirtualFileSystemInstanceManager virtualFileSystemInstanceManager,
            IDispatcher dispatcher)
        {
            if (applicationController == null)
            {
                throw new ArgumentNullException("applicationController");
            }
            if (viewModelComparer == null)
            {
                throw new ArgumentNullException("viewModelComparer");
            }
            if (userInteractionService == null)
            {
                throw new ArgumentNullException("userInteractionService");
            }
            if (virtualFileSystemInstanceManager == null)
            {
                throw new ArgumentNullException("virtualFileSystemInstanceManager");
            }
            if (dispatcher == null)
            {
                throw new ArgumentNullException("dispatcher");
            }

            _applicationController            = applicationController;
            _userInteractionService           = userInteractionService;
            _virtualFileSystemInstanceManager = virtualFileSystemInstanceManager;
            _dispatcher        = dispatcher;
            _viewModelComparer = viewModelComparer;
        }
Esempio n. 7
0
 public AccountBalanceViewModel(IMvxNavigationService navigationService, IAccountBalanceRepository accountBalanceRepository, IAccountBalanceSync accountBalanceSync, IUserInteractionService userInteraction)
 {
     this.NavigationService        = navigationService;
     this.accountBalanceRepository = accountBalanceRepository;
     this.accountBalanceSync       = accountBalanceSync;
     this.userInteraction          = userInteraction;
 }
 public StackOptimizerChannelRulesViewModel(IStackOptimizerStep step, IUserInteractionService interactionService)
 {
     _step = step;
     _interactionService = interactionService;
     DisplayName         = "Channels Rules";
     ChannelRuleMappings = new ObservableCollection <ChannelRuleMappingModelBase>();
 }
Esempio n. 9
0
 public PlayCommandHandler(
     IUserInteractionService userInteractionService,
     IGamesManager gamesManager)
 {
     this.userInteractionService = userInteractionService;
     this.gamesManager           = gamesManager;
 }
Esempio n. 10
0
 public AuthorService(IFileOperationService fileOperationService, IUserInteractionService userInteractionService)
 {
     this.fileOperationService =
         fileOperationService ?? throw new ArgumentNullException(nameof(fileOperationService));
     this.userInteractionService = userInteractionService ??
                                   throw new ArgumentNullException(nameof(userInteractionService));
 }
Esempio n. 11
0
 public StopListViewModel(
     ILoggerService loggerService,
     IPreferenceService preferenceService,
     IUserInteractionService userInteractionService)
     : base(loggerService, preferenceService, userInteractionService)
 {
 }
Esempio n. 12
0
        public ArtifactCopyingVisitor(VirtualFileSystem fileSystem, IUserInteractionService userInteractionService, IPathValidator pathValidator, IApplicationController applicationController, TaskCounter taskCounter)
        {
            if (fileSystem == null)
            {
                throw new ArgumentNullException("fileSystem");
            }
            if (userInteractionService == null)
            {
                throw new ArgumentNullException("userInteractionService");
            }
            if (pathValidator == null)
            {
                throw new ArgumentNullException("pathValidator");
            }
            if (applicationController == null)
            {
                throw new ArgumentNullException("applicationController");
            }
            if (taskCounter == null)
            {
                throw new ArgumentNullException("taskCounter");
            }

            _fileSystem             = fileSystem;
            _applicationController  = applicationController;
            _taskCounter            = taskCounter;
            _userInteractionService = userInteractionService;
            _pathValidator          = pathValidator;
        }
Esempio n. 13
0
 public HomeViewModel(IMvxNavigationService navigationService, ISettings settings, IUserInteractionService userInteraction, IAccountService account, IAdunisRepository adunisRepository)
 {
     this.NavigationService = navigationService;
     this.settings          = settings;
     this.userInteraction   = userInteraction;
     this.account           = account;
     this.adunisRepository  = adunisRepository;
 }
Esempio n. 14
0
 public LoginController(
     IUserInteractionService interaction,
     SignInManager <CouchbaseUser> loginService,
     UserManager <CouchbaseUser> userManager)
 {
     _interaction  = interaction;
     _loginService = loginService;
     _userManager  = userManager;
 }
Esempio n. 15
0
        public StorageViewModel(
            IUserInteractionService userInteractionService,
            IFirebaseStorage firebaseStorage)
        {
            _userInteractionService = userInteractionService;
            _firebaseStorage        = firebaseStorage;

            InitCommands();
        }
Esempio n. 16
0
 public TelegramNotifier(ILogger <TelegramNotifier> logger, INoSqlService noSqlService, NeonConfig neonConfig, IScriptEngineService scriptEngineService, IUserInteractionService userInteractionService)
 {
     _logger = logger;
     _scriptEngineService    = scriptEngineService;
     _userInteractionService = userInteractionService;
     _neonConfig             = neonConfig;
     _noSqlService           = noSqlService;
     _httpClient             = new HttpClient();
 }
 public MapViewModel(IMvxNavigationService navigationService, ISettings settings, IUserInteractionService userInteraction, IDevice device, IMapRepository mapRepository, IMapSync mapSync, IIOCacheService cache)
 {
     this.NavigationService = navigationService;
     this.settings          = settings;
     this.userInteraction   = userInteraction;
     this.device            = device;
     this.mapRepository     = mapRepository;
     this.mapSync           = mapSync;
     this.cache             = cache;
 }
Esempio n. 18
0
 public SettingsViewModel(IMvxNavigationService navigationService, IIOCacheService cacheService, IUserInteractionService userInteraction, IAdunisRepository adunisRepository, INewsRepository newsRepository, IMenuRepository menuRepository, IDevice device)
 {
     this.NavigationService = navigationService;
     this.cacheService      = cacheService;
     this.userInteraction   = userInteraction;
     this.adunisRepository  = adunisRepository;
     this.newsRepository    = newsRepository;
     this.menuRepository    = menuRepository;
     this.device            = device;
 }
Esempio n. 19
0
 public WhatsAppChatService(IChatEntryReviewService reviewService,
                            IUserInteractionService userInteractionService, ISmeuService smeuService, IAuthorService authorService,
                            ILogger logger)
 {
     this.reviewService          = reviewService ?? throw new ArgumentNullException(nameof(reviewService));
     this.userInteractionService = userInteractionService ?? throw new ArgumentNullException(nameof(userInteractionService));
     this.smeuService            = smeuService ?? throw new ArgumentNullException(nameof(smeuService));
     this.authorService          = authorService ?? throw new ArgumentNullException(nameof(authorService));
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Esempio n. 20
0
 public AdminController(IServicesManager servicesManager, IScriptService scriptService,
                        IComponentsService componentsService, IUserInteractionService userInteractionService,
                        ISchedulerService schedulerService)
 {
     _userInteractionService = userInteractionService;
     _servicesManager        = servicesManager;
     _scriptService          = scriptService;
     _componentsService      = componentsService;
     _schedulerService       = schedulerService;
 }
        public CloudMessagingViewModel(
            IPushNotificationService pushNotificationService,
            IUserInteractionService userInteractionService)
        {
            _pushNotificationService = pushNotificationService;
            _userInteractionService  = userInteractionService;

            InitCommands();
            InitProperties();
        }
Esempio n. 22
0
        public RemoteConfigViewModel(
            IUserInteractionService userInteractionService,
            IFirebaseRemoteConfig firebaseRemoteConfig)
        {
            _userInteractionService = userInteractionService;
            _firebaseRemoteConfig   = firebaseRemoteConfig;

            SetRemoteConfigDefaultsAsync();
            InitCommands();
            InitProperties();
        }
Esempio n. 23
0
 public SpotifyComponent(ILoggerFactory loggerFactory,
                         IIoTService ioTService,
                         IHttpClientFactory httpClientFactory,
                         ISchedulerService schedulerService,
                         IUserInteractionService userInteractionService,
                         IComponentsService componentsService) : base(loggerFactory, ioTService, componentsService)
 {
     _schedulerService       = schedulerService;
     _userInteractionService = userInteractionService;
     _httpClient             = httpClientFactory.CreateClient();
 }
Esempio n. 24
0
 public LogoutController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILoggerFactory loggerFactory,
     IUserInteractionService interaction)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = loggerFactory.CreateLogger <LoginController>();
     _interaction   = interaction;
 }
Esempio n. 25
0
 public UserProfileController(IPublicUserProfileManager publicUserProfileManager, IFriendListManager friendListManager, IUserAccountRepository userAccountRepository, IUserInteractionService userInteractionService, ITraditionalListingSearchRepository traditionalListingSearchRepository, ITokenService tokenService, IAuthorizationResolutionManager authorizationResolutionManager,
                              IAuthorizationPolicyManager authorizationPolicyManager)
 {
     _publicUserProfileManager           = publicUserProfileManager;
     _friendListManager                  = friendListManager;
     _userAccountRepository              = userAccountRepository;
     _userInteractionService             = userInteractionService;
     _traditionalListingSearchRepository = traditionalListingSearchRepository;
     _tokenService = tokenService;
     _authorizationResolutionManager = authorizationResolutionManager;
     _authorizationPolicyManager     = authorizationPolicyManager;
 }
Esempio n. 26
0
        public AuthViewModel(
            IAuthService authService,
            IUserInteractionService userInteractionService,
            ISchedulerService schedulerService)
        {
            _authService            = authService;
            _userInteractionService = userInteractionService;
            _schedulerService       = schedulerService;

            InitCommands();
            InitProperties();
        }
        public DashboardViewModel(
            INavigationService navigationService,
            IPushNotificationService pushNotificationService,
            IUserInteractionService userInteractionService)
        {
            _navigationService       = navigationService;
            _pushNotificationService = pushNotificationService;
            _userInteractionService  = userInteractionService;

            InitCommands();
            HandleTappedPushNotification();
        }
Esempio n. 28
0
 public PlayerGameAcceptanceTimeoutEventMetadataRequestHandler(IMediator mediator,
                                                               IUserInteractionService userInteractionService,
                                                               ICommunicatorFactory communicatorFactory,
                                                               IThreadContextSessionProvider threadContextSessionProvider,
                                                               IPlayerRepository playerRepository)
 {
     _mediator = mediator;
     _userInteractionService       = userInteractionService;
     _communicatorFactory          = communicatorFactory;
     _threadContextSessionProvider = threadContextSessionProvider;
     _playerRepository             = playerRepository;
 }
Esempio n. 29
0
        public SplashViewModel(
            IRepository <DeviceLocationModel> repository,
            INetworkingService networkingService,
            ILoggerService loggerService,
            IPreferenceService preferenceService,
            IUserInteractionService userInteractionService) : base(loggerService, preferenceService, userInteractionService)
        {
            _repository        = repository;
            _networkingService = networkingService;

            _timer = new Timer(TimeSpan.FromSeconds(6), CheckRepositoryIsInitializedAndNavigateToNextViewModel).Start();
        }
 public OAuthUtils(ISettings settings, IDevice device, IUserInteractionService userInteraction, IAccountService account, IHttpClientConfiguration httpClientConfiguration, IMvxWebBrowserTask browser, IServiceApi serviceApi)
 {
     this.settings                = settings;
     this.device                  = device;
     this.userInteraction         = userInteraction;
     this.account                 = account;
     this.httpClientConfiguration = httpClientConfiguration;
     this.State       = this.settings.GetValueOrDefault(StateKey, Guid.NewGuid().ToString());
     this.browser     = browser;
     this.serviceApi  = serviceApi;
     this.oAuthClient = serviceApi.OAuthClient;
     this.oAuthSecret = serviceApi.OAuthSecret;
 }