Пример #1
0
        public static IEventFlowOptions UseHangfireJobScheduler(
            this IEventFlowOptions eventFlowOptions,
            Action <IEventFlowHangfireOptions> configurationAction)
        {
            var options = eventFlowOptions.UseHangfireJobScheduler();

            configurationAction(new EventFlowHangfireOptions(options));
            return(options);
        }
Пример #2
0
        protected override IRootResolver CreateRootResolver(IEventFlowOptions eventFlowOptions)
        {
            var resolver = eventFlowOptions
                           .UseHangfireJobScheduler()
                           .CreateResolver(false);

            _eventFlowResolverActivator = new EventFlowResolverActivator(resolver);

            return(resolver);
        }
Пример #3
0
 public static IEventFlowOptions UseHandfireJobScheduler(
     this IEventFlowOptions eventFlowOptions)
 {
     return(eventFlowOptions.UseHangfireJobScheduler());
 }