public MaxPowerService(IDestiny2 destiny, IManifest manifest, IOptions <BungieSettings> bungie,
                        ILogger <MaxPowerService> logger)
 {
     _destiny  = destiny;
     _manifest = manifest;
     _bungie   = bungie;
     _logger   = logger;
 }
 public ChargedWithLight(IDestiny2 destiny, IManifest manifest,
                         IHttpContextAccessor contextAccessor, IOptions <BungieSettings> bungie)
 {
     _destiny         = destiny;
     _manifest        = manifest;
     _contextAccessor = contextAccessor;
     _baseUrl         = bungie.Value.BaseUrl;
 }
 public WeaponMods(IManifest manifest, IDestiny2 destiny2,
                   IHttpContextAccessor contextAccessor, ILogger <WeaponMods> logger)
 {
     _manifest        = manifest;
     _destiny2        = destiny2;
     _contextAccessor = contextAccessor;
     _logger          = logger;
 }
 public AccountController(IDestiny2 destiny2, IHttpContextAccessor contextAccessor,
                          IOptions <BungieSettings> bungie, ILogger <AccountController> logger)
 {
     _destiny2        = destiny2;
     _contextAccessor = contextAccessor;
     _bungie          = bungie.Value;
     _logger          = logger;
 }
Exemple #5
0
        public void SetupServices()
        {
            if (destinyApi != null && oauthManager != null)
            {
                return;
            }

            destinyApi   = App.provider.GetService(typeof(IDestiny2)) as IDestiny2;
            oauthManager = App.provider.GetService(typeof(OAuthManager)) as OAuthManager;
        }
Exemple #6
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 ItemFactory(IDestiny2 destiny2, IOptions <BungieSettings> bungie,
                    IHttpContextAccessor contextAccessor, ISocketFactory socketFactory,
                    IStatFactory statFactory, IPerkFactory perkFactory, IManifestCache cache)
 {
     _destiny2        = destiny2;
     _bungie          = bungie.Value;
     _contextAccessor = contextAccessor;
     _socketFactory   = socketFactory;
     _statFactory     = statFactory;
     _perkFactory     = perkFactory;
     _cache           = cache;
 }
 public CharacterController(IDestiny2 destiny2, IManifest manifest,
                            IOptions <BungieSettings> bungie, IItemFactory itemFactory,
                            IPerkFactory perkFactory, IHttpContextAccessor contextAccessor,
                            ILogger <CharacterController> logger)
 {
     _destiny2        = destiny2;
     _manifest        = manifest;
     _bungie          = bungie.Value;
     _itemFactory     = itemFactory;
     _perkFactory     = perkFactory;
     _contextAccessor = contextAccessor;
     _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;
 }
 public ManifestDownloader(IDestiny2 destiny, ILogger <ManifestDownloader> logger)
 {
     _destiny = destiny;
     _logger  = logger;
 }
 public ItemController(IDestiny2 destiny2, IItemFactory itemFactory)
 {
     _itemFactory = itemFactory;
 }