Пример #1
0
        public static HostConfigurator UseQuartzLamar(this HostConfigurator configurator, Container container)
        {
            configurator.UseLamar(container);

            LamarScheduleJobServiceConfiguratorExtensions.SetupLamar();

            return(configurator);
        }
Пример #2
0
        public static HostConfigurator UseQuartzLamar(this HostConfigurator configurator)
        {
            var container = LamarBuilderConfigurator.Container;

            if (container == null)
            {
                throw new ArgumentNullException(nameof(container));
            }

            configurator.UseLamar(container);

            LamarScheduleJobServiceConfiguratorExtensions.SetupLamar();

            return(configurator);
        }