public CognitiveRecommendationsProvider(IWorkContextAccessor workContextAccessor, ICatalogService catalogService, IRecommendations recommendationsApi,
                                         IMemoryCache memoryCache)
 {
     _workContextAccessor = workContextAccessor;
     _catalogService      = catalogService;
     _recommendationsApi  = recommendationsApi;
     _memoryCache         = memoryCache;
 }
Beispiel #2
0
 public AccountController(IDestiny2 destiny, IManifest manifest,
                          IMaxPowerService maxPower, IRecommendations recommendations, IHttpContextAccessor contextAccessor,
                          IOptions <BungieSettings> bungie, ILogger <AccountController> logger)
 {
     _destiny         = destiny;
     _manifest        = manifest;
     _maxPower        = maxPower;
     _recommendations = recommendations;
     _contextAccessor = contextAccessor;
     _bungie          = bungie;
     _logger          = logger;
 }
 public CharacterController(IDestiny2 destiny, IMaxPowerService maxPower,
                            IManifest manifest, IRecommendations recommendations,
                            Affinitization affinitization, ItemService itemService,
                            IHttpContextAccessor contextAccessor, IOptions <BungieSettings> bungie,
                            ILogger <CharacterController> logger)
 {
     _destiny         = destiny;
     _maxPower        = maxPower;
     _manifest        = manifest;
     _recommendations = recommendations;
     _affinitization  = affinitization;
     _itemService     = itemService;
     _contextAccessor = contextAccessor;
     _bungie          = bungie;
     _logger          = logger;
 }