public EmulationService(AppSettings appSettings, FileIniDataParser iniParser, IProcessHelpers processHelpers, IFileHelpers fileHelpers) { this.appSettings = appSettings; this.iniParser = iniParser; this.processHelpers = processHelpers; this.fileHelpers = fileHelpers; }
public EmulatorIdentificationService(AppSettings appSettings, IGameLibraryService gameLibraryService, ICoverService coverService, IEmulationService emulationService, IRemoteConfigService remoteConfigService, IFileHelpers fileHelpers, IProcessHelpers processHelpers) : base(gameLibraryService, coverService, remoteConfigService) { this.appSettings = appSettings; this.emulationService = emulationService; this.fileHelpers = fileHelpers; this.processHelpers = processHelpers; }
public ConfigWizard(AppSettings settings, IConfigurationService configurationService, IEmulationService emulationService, IFileHelpers fileHelpers) { InitializeComponent(); this.configurationService = configurationService; this.emulationService = emulationService; this.settings = settings; this.fileHelpers = fileHelpers; }
public ConfigurationService(AppSettings appSettings, FileIniDataParser iniParser, IFileHelpers fileHelpers) { this.appSettings = appSettings; this.iniParser = iniParser; this.fileHelpers = fileHelpers; configsDir = appSettings.ConfigsDirectory; compressedMemoryCard = appSettings.CompressedMemCard; }
public VersionManagementService(AppSettings appSettings, FileIniDataParser iniParser, IFileHelpers fileHelpers, IHttpClientFactory httpClientFactory) { this.appSettings = appSettings; this.iniParser = iniParser; this.fileHelpers = fileHelpers; settings = appSettings.VersionManager; httpClient = httpClientFactory.CreateClient(); Task.Run(UpdateLatestDevVersion); }
public RemoteConfigService(AppSettings appSettings, FileIniDataParser iniParser, IConfigurationService configurationService, IEmulationService emulationService, IFileHelpers fileHelpers) { remoteConfigsPath = appSettings.RemoteConfigsPath ?? "Remote"; this.iniParser = iniParser; this.configurationService = configurationService; this.emulationService = emulationService; this.fileHelpers = fileHelpers; remoteIndex = new XmlDocument(); Task.Run(UpdateFromRemote).ContinueWith(task => remoteIndex.Load($"{remoteConfigsPath}\\RemoteIndex.xml")); }
//Discuss - can we use calling asembly to run functions in child projects?, that way we can force calling remote functions in the core project. This would controll project flow. /// <summary> /// AdRotator Initialiser /// </summary> /// <param name="adSettings">XML string of the AdSettings content</param> /// <param name="Culture">Specified culture you want AdRotator initialised for</param> public AdRotatorComponent(string Culture, IFileHelpers FileHelper) { this.IsAdRotatorEnabled = true; this.culture = Culture; this.fileHelper = FileHelper; this.AdHeight = 80; this.AdWidth = 480; PlatformSupportedAdProviders = new List <AdType>(); PlatformAdProviderComponents = new Dictionary <AdType, Type>(); timerDelegate = new TimerCallback(GetAd); }
public MainWindow(AppSettings settings, IGameLibraryService gameLibraryService, IEmulationService emulationService, IIdentificationService identificationService, ICoverService coverService, IVersionManagementService versionManagementService, IFileHelpers fileHelpers) { InitializeComponent(); this.settings = settings; this.gameLibraryService = gameLibraryService; this.emulationService = emulationService; this.identificationService = identificationService; this.coverService = coverService; this.versionManagementService = versionManagementService; this.fileHelpers = fileHelpers; PopulateGameModelsFromLibrary(); userSettingsModel = new UserSettingsModel(settings.UserSettings); gamesList.ItemsSource = gameModels; settingsMenu.DataContext = userSettingsModel; }
public DefaultHouseAd(int AdRotatorControlID, IFileHelpers FileHelper) { this.fileHelper = FileHelper; this.adRotatorControlID = AdRotatorControlID; }
//Discuss - can we use calling asembly to run functions in child projects?, that way we can force calling remote functions in the core project. This would controll project flow. /// <summary> /// AdRotator Initialiser /// </summary> /// <param name="adSettings">XML string of the AdSettings content</param> /// <param name="Culture">Specified culture you want AdRotator initialised for</param> public AdRotatorComponent(string Culture, IFileHelpers FileHelper) { this.IsAdRotatorEnabled = true; this.culture = Culture; this.fileHelper = FileHelper; this.AdHeight = 80; this.AdWidth = 480; PlatformSupportedAdProviders = new List<AdType>(); PlatformAdProviderComponents = new Dictionary<AdType, Type>(); timerDelegate = new TimerCallback(GetAd); }
public DuplicateFinder(IFileHelpers fileSystemHelper) { this._fileSystemHelper = fileSystemHelper; }