Exemple #1
0
        public static IEventFlowOptions UseHangfireJobScheduler(
            this IEventFlowOptions eventFlowOptions,
            Action <IEventFlowHangfireOptions> configurationAction)
        {
            var options = eventFlowOptions.UseHangfireJobScheduler();

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

            _eventFlowResolverActivator = new EventFlowResolverActivator(resolver);

            return(resolver);
        }
Exemple #3
0
 public static IEventFlowOptions UseHandfireJobScheduler(
     this IEventFlowOptions eventFlowOptions)
 {
     return(eventFlowOptions.UseHangfireJobScheduler());
 }