public GamesController(UpdatableAppSettings settings, IgdbApi igdbApi) { this.settings = settings; this.igdbApi = igdbApi; games = new Games(igdbApi); alternativeNames = new AlternativeNames(igdbApi); }
public IgdbApi(UpdatableAppSettings settings) { this.settings = settings; requestLimiterHandler = TimeLimiter .GetFromMaxCountByInterval(4, TimeSpan.FromSeconds(1)) .AsDelegatingHandler(); HttpClient = new HttpClient(requestLimiterHandler); HttpClient.DefaultRequestHeaders.Add("Accept", "application/json"); CacheRoot = settings.Settings.IGDB.CacheDirectory; if (!Path.IsPathRooted(CacheRoot)) { CacheRoot = Path.Combine(Paths.ExecutingDirectory, CacheRoot); } Games = new Games(this); AlternativeNames = new AlternativeNames(this); InvolvedCompanies = new InvolvedCompanies(this); Genres = new Genres(this); Websites = new Websites(this); GameModes = new GameModes(this); PlayerPerspectives = new PlayerPerspectives(this); Covers = new Covers(this); Artworks = new Artworks(this); Screenshots = new Screenshots(this); AgeRatings = new AgeRatings(this); Collections = new Collections(this); }
public MetadataController(UpdatableAppSettings settings, IgdbApi igdbApi) { this.settings = settings; this.igdbApi = igdbApi; gamesController = new GamesController(settings, igdbApi); expandedController = new ExpandedGameController(settings, igdbApi); parsedController = new GameParsedController(settings, igdbApi); }
public ServiceKeyFilter(UpdatableAppSettings settings) { appSettings = settings; }
public AddonsController(UpdatableAppSettings settings) { this.settings = settings; }
public ExpandedGameController(UpdatableAppSettings settings, IgdbApi igdbApi) { this.settings = settings; this.igdbApi = igdbApi; }
public MaintenanceController(UpdatableAppSettings settings) { appSettings = settings; }
public GameParsedController(UpdatableAppSettings settings, IgdbApi igdbApi) { this.settings = settings; this.igdbApi = igdbApi; }
public GamesController(UpdatableAppSettings settings) { appSettings = settings; }
public MetadataController(UpdatableAppSettings settings) { appSettings = settings; }
public PlayniteVersionFilter(UpdatableAppSettings settings) { appSettings = settings; }