// == CONSTRUCTOR(S)
        // ======================================================================

        public ScheduledTaskService(IServiceScopeFactory scopeFactory, IBlizzardRealmService blizzardRealmService, IBlizzardAuctionHouseService blizzardAuctionHouseService, IBlizzardItemService blizzardItemService)
        {
            this._scopeFactory                = scopeFactory;
            this._scheduledTasks              = new Dictionary <int, GenericScheduledTask>();
            this._blizzardRealmService        = blizzardRealmService;
            this._blizzardAuctionHouseService = blizzardAuctionHouseService;
            this._blizzardItemService         = blizzardItemService;

            LogUtil.writeLog(this.GetType(), LogType.INFO, "SCHEDULED TASK SERVICE CREATED");
        }
        // == CONSTRUCTOR(S)
        // ======================================================================

        public MainController(IBlizzardRealmService realmService)
        {
            this._realmService = realmService;
        }
示例#3
0
        // == CONSTRUCTOR(S)
        // ======================================================================

        public RealmScanTask(IServiceScopeFactory scopeFactory, ScheduledTask scheduledTask, IBlizzardRealmService blizzardRealmService) : base(scopeFactory, scheduledTask)
        {
            this._blizzardRealmService = blizzardRealmService;
        }