Beispiel #1
0
        public QuartzTests()
        {
            quartzScheduleJobManager   = LocalIocManager.Resolve <IQuartzScheduleJobManager>();
            studioXQuartzConfiguration = LocalIocManager.Resolve <IStudioXQuartzConfiguration>();

            ScheduleJobs();
        }
Beispiel #2
0
        public QuartzTests()
        {
            _quartzScheduleJobManager = LocalIocManager.Resolve <IQuartzScheduleJobManager>();
            _abpQuartzConfiguration   = LocalIocManager.Resolve <IAbpQuartzConfiguration>();

            ScheduleJobs();
        }
 public UserInfoController(IUserAppService userAppService, RoleManager roleManager, ICacheManager cacheManager, IQuartzScheduleJobManager jobManager, ISystemSchedulerService iSystemSchedulerService)
 {
     _userAppService          = userAppService;
     _roleManager             = roleManager;
     _cacheManager            = cacheManager;
     _jobManager              = jobManager;
     _iSystemSchedulerService = iSystemSchedulerService;
 }
Beispiel #4
0
 public QuartzScheduleJobManager_Tests()
 {
     Building(builder =>
     {
         builder.RegisterServices(r =>
         {
             r.Register(typeof(IQuartzScheduleJobManager), typeof(QuartzScheduleJobManager), Lifetime.Transient);
         });
     });
     _scheduleJobManager = LocalIocManager.Resolve <IQuartzScheduleJobManager>();
 }
Beispiel #5
0
        //private readonly ICacheManager _cacheManager;



        /// <summary>
        ///
        /// </summary>
        /// <param name="userAppService"></param>
        /// <param name="jobManager"></param>
        /// <param name="backgroundJobManager"></param>
        /// <param name="cacheManager"></param>
        public UserController(
            IUserAppService userAppService,
            IQuartzScheduleJobManager jobManager,
            IBackgroundJobManager backgroundJobManager,
            IRepository <Role> roleRepo
            //,            ICacheManager cacheManager
            )
        {
            _userAppService       = userAppService;
            _jobManager           = jobManager;
            _backgroundJobManager = backgroundJobManager;
            this.roleRepo         = roleRepo;
            //_cacheManager = cacheManager;
        }
 public HelloJobRunnable()
 {
     _quartzScheduleJobManager = new QuartzScheduleJobManager();
 }
Beispiel #7
0
 public HomeController(INotificationPublisher notificationPublisher, IQuartzScheduleJobManager jobManager)
 {
     _notificationPublisher = notificationPublisher;
     _jobManager            = jobManager;
 }
Beispiel #8
0
 public AutoServiceBase()
 {
     //QuartzConfiguration = new QuartzConfiguration();
     QuartzScheduleJobManager = CoreIocContainer.Resolve <IQuartzScheduleJobManager>();
 }
Beispiel #9
0
 public HomeController(IQuartzScheduleJobManager jobManager)
 {
     _jobManager = jobManager;
 }