Exemplo n.º 1
0
 public InitializeHandler(
     InitializationResources resources,
     IMediator mediator,
     ISidekickSettings settings,
     ILogger <InitializeHandler> logger,
     IViewLocator viewLocator,
     IProcessProvider processProvider,
     IKeyboardProvider keyboardProvider,
     IKeybindProvider keybindProvider,
     IParserPatterns parserPatterns,
     IModifierProvider modifierProvider,
     IPseudoModifierProvider pseudoModifierProvider,
     IItemMetadataProvider itemMetadataProvider,
     IItemStaticDataProvider itemStaticDataProvider)
 {
     this.resources              = resources;
     this.mediator               = mediator;
     this.settings               = settings;
     this.logger                 = logger;
     this.viewLocator            = viewLocator;
     this.processProvider        = processProvider;
     this.keyboardProvider       = keyboardProvider;
     this.keybindProvider        = keybindProvider;
     this.parserPatterns         = parserPatterns;
     this.modifierProvider       = modifierProvider;
     this.pseudoModifierProvider = pseudoModifierProvider;
     this.itemMetadataProvider   = itemMetadataProvider;
     this.itemStaticDataProvider = itemStaticDataProvider;
 }
Exemplo n.º 2
0
        public BulkQueryRequest(Item item, IItemStaticDataProvider staticDataProvider)
        {
            Exchange.Status.Option = StatusType.Online;

            Exchange.Want.Add(staticDataProvider.GetId(item));
            Exchange.Have.Add("chaos");
        }
Exemplo n.º 3
0
 public DataInitializationStartedHandler(
     IItemMetadataProvider itemMetadataProvider,
     IItemStaticDataProvider itemStaticDataProvider)
 {
     this.itemMetadataProvider   = itemMetadataProvider;
     this.itemStaticDataProvider = itemStaticDataProvider;
 }
Exemplo n.º 4
0
 public GetTradeUriHandler(IGameLanguageProvider gameLanguageProvider,
                           IItemStaticDataProvider itemStaticDataProvider,
                           ISidekickSettings settings)
 {
     this.gameLanguageProvider   = gameLanguageProvider;
     this.itemStaticDataProvider = itemStaticDataProvider;
     this.settings = settings;
 }
Exemplo n.º 5
0
 public TradeSearchService(ILogger <TradeSearchService> logger,
                           IGameLanguageProvider gameLanguageProvider,
                           ISidekickSettings settings,
                           IPoeTradeClient poeTradeClient,
                           IItemStaticDataProvider itemStaticDataProvider,
                           IModifierProvider modifierProvider)
 {
     this.logger = logger;
     this.gameLanguageProvider   = gameLanguageProvider;
     this.settings               = settings;
     this.poeTradeClient         = poeTradeClient;
     this.itemStaticDataProvider = itemStaticDataProvider;
     this.modifierProvider       = modifierProvider;
 }
Exemplo n.º 6
0
        public PriceViewModel(
            ILogger <PriceViewModel> logger,
            IDebouncer debouncer,
            ITradeSearchService tradeSearchService,
            IItemStaticDataProvider itemStaticDataProvider,
            IGameLanguageProvider gameLanguageProvider,
            ISidekickSettings settings,
            IItemCategoryRepository itemCategoryRepository,
            IMediator mediator)
        {
            this.logger                 = logger;
            this.debouncer              = debouncer;
            this.tradeSearchService     = tradeSearchService;
            this.itemStaticDataProvider = itemStaticDataProvider;
            this.gameLanguageProvider   = gameLanguageProvider;
            this.settings               = settings;
            this.itemCategoryRepository = itemCategoryRepository;
            this.mediator               = mediator;

            PropertyChanged += PriceViewModel_PropertyChanged;
        }