public PlayerDataService( IPlayerCache playerCache, IPlayerDataCache playerDataCache, IDataContextProvider dataContextProvider) { _playerCache = playerCache; _playerDataCache = playerDataCache; _contextProvider = dataContextProvider; }
public PlayerDataProvider(IWebApiBrooker apiBrooker, IPlayerDataCache cache) { this.apiBrooker = apiBrooker ?? throw new ArgumentNullException(nameof(apiBrooker)); this.cache = cache ?? throw new ArgumentNullException(nameof(cache)); }