예제 #1
0
 public SocketFactory(IManifestCache cache, IOptions <BungieSettings> bungie,
                      IPerkFactory perkFactory)
 {
     _cache       = cache;
     _bungie      = bungie.Value;
     _perkFactory = perkFactory;
 }
 public AccountController(IDestiny2 destiny2, IHttpContextAccessor contextAccessor,
                          IOptions <BungieSettings> bungie, ILogger <AccountController> logger)
 {
     _destiny2        = destiny2;
     _contextAccessor = contextAccessor;
     _bungie          = bungie.Value;
     _logger          = logger;
 }
예제 #3
0
 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;
 }
예제 #5
0
 public PerkFactory(IManifestCache cache, IOptions <BungieSettings> bungie)
 {
     _cache  = cache;
     _bungie = bungie.Value;
 }
예제 #6
0
 public WeaponModsController(IWeaponMods weaponMods, IOptions <BungieSettings> bungie)
 {
     _weaponMods = weaponMods;
     _bungie     = bungie.Value;
 }