14 lines
333 B
C#
14 lines
333 B
C#
|
|
using Elsa.Features.Extensions;
|
||
|
|
using Elsa.Features.Services;
|
||
|
|
using Elsa.Quartz.Features;
|
||
|
|
|
||
|
|
namespace Elsa.Quartz.Extensions;
|
||
|
|
|
||
|
|
public static class ModuleExtensions
|
||
|
|
{
|
||
|
|
public static IModule UseQuartz(this IModule module, Action<QuartzFeature>? configure = default)
|
||
|
|
{
|
||
|
|
module.Use(configure);
|
||
|
|
return module;
|
||
|
|
}
|
||
|
|
}
|