public XamarinSessionFactory( IDeviceInfoService deviceInfoService, IApplicationInfoService applicationInfoService) { _deviceInfoService = deviceInfoService; _applicationInfoService = applicationInfoService; }
public SettingsViewModel(IOptions <AppConfig> appConfig, IThemeSelectorService themeSelectorService, ISystemService systemService, IApplicationInfoService applicationInfoService) { _appConfig = appConfig.Value; _themeSelectorService = themeSelectorService; _systemService = systemService; _applicationInfoService = applicationInfoService; }
public ApplicationBootloader(IMenuService menu, IMvvmService mvvm, IApplicationInfoService info, Func <MainWpfViewModel> getVm) { _menu = menu; _mvvm = mvvm; _info = info; _getVm = getVm; }
public SettingsViewModel(AppConfig config, IThemeSelectorService themeSelectorService, ISystemService systemService, IApplicationInfoService applicationInfoService) { _config = config; _themeSelectorService = themeSelectorService; _systemService = systemService; _applicationInfoService = applicationInfoService; }
public SettingsPage(IOptions <AppConfig> appConfig, IThemeSelectorService themeSelectorService, ISystemService systemService, IApplicationInfoService applicationInfoService) { _appConfig = appConfig.Value; _themeSelectorService = themeSelectorService; _systemService = systemService; _applicationInfoService = applicationInfoService; InitializeComponent(); DataContext = this; }
public HomeController( IApplicationInfoService infoService, UserManager <ApplicationUser> userManager, IRecipersService recipersService) { this.infoService = infoService; this.userManager = userManager; this.recipersService = recipersService; }
public SystemInfoViewModel(IWebServicesStatus webServiceStatus, IApplicationInfoService applicationInfoService, ICurrentDateTime currentDateTime, ILogRepository logRepository, IScrobbleCacher scrobbleCacher) : base(TabType.SystemInfo, IconType.InfoCircle, TabTitleSystemInfo) { _webServiceStatus = webServiceStatus; _applicationInfoService = applicationInfoService; _logRepository = logRepository; _currentDateTime = currentDateTime; _scrobbleCacher = scrobbleCacher; Statuses = PopulateStatuses(); RefreshCommand = new RelayCommand(RefreshStatuses); DeleteScrobbleCommand = new RelayCommand <FailedScrobbleViewModel>(DeleteScrobble); }
public void Inject( ILocalizationService localization, IDataService data, IMvvmService mvvm, IDocumentService docs, IAclService acl, IMessageBus message, IMenuService menu, IApplicationInfoService info) { Localization = localization; Data = data; Mvvm = mvvm; Docs = docs; Acl = acl; Message = message; Menu = menu; Info = info; }
public SettingsPageAboutViewModel(IApplicationInfoService appInfoService) { _appInfoService = appInfoService; ProductInfo = new ProductInfoViewModel(appInfoService); DependencyInfo = appInfoService.DependencyInformation.OrderBy(x => x.ProductName).Select(x => new ProductInfoViewModel(x)).ToList(); BrowseCommand = ReactiveCommand.Create <string>(targetUrl => { try { System.Diagnostics.Process.Start(targetUrl); } catch { // TODO: Log } }); }
public void Inject( IAclService acl, IMessageBus message, IDocumentService doc, IApplicationInfoService applicationInfo, ILocalizationService localizationService, Func <object, ISelectedMessage> getSelectedMessage, IIconService iconService) { Acl = acl; _message = message; doc.MainViewModel = this; _doc = doc; ApplicationInfo = applicationInfo; LocalizationService = localizationService; _getSelectedMessage = getSelectedMessage; IconService = iconService; H.Initialize(this); }
public void Inject( ILocalizationService localizationService, IIconService iconService, IDataService dataService, IApplicationInfoService infoService) { LocalizationService = localizationService; IconService = iconService; DataService = dataService; InfoService = infoService; H.Initialize(this); foreach (var connection in dataService.Connections) { Databases.Add(connection); AllowDatabaseSelection = true; } Database = DataService.Source; }
public ApplicationInfoHandler(IApplicationInfoService service) { _service = service; }
/// <summary> /// Constructor for the Application Info Controller. /// </summary> public ApplicationInfoController(IApplicationInfoService applicationInfoService) { _applicationInfoService = applicationInfoService.ThrowIfNull(nameof(applicationInfoService)); }
/// <summary> /// 应用程序控制器 /// </summary> public ApplicationInfoController(IMapper mapper, IApplicationInfoService applicationInfoService) { _mapper = mapper; _applicationInfoService = applicationInfoService; }
public ApplicationInfoController(IApplicationInfoService IApplicationInfoServiceInitializer) { oIApplicationInfoService = IApplicationInfoServiceInitializer; }
public UpdaterWpf(IApplicationInfoService info) { _info = info; H.Initialize(this); }