17 lines
433 B
C#
17 lines
433 B
C#
|
|
using Elsa.Features.Services;
|
||
|
|
using Elsa.Liquid.Features;
|
||
|
|
|
||
|
|
// ReSharper disable once CheckNamespace
|
||
|
|
namespace Elsa.Extensions;
|
||
|
|
|
||
|
|
public static class ModuleExtensions
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Setup the <see cref="LiquidFeature"/> feature.
|
||
|
|
/// </summary>
|
||
|
|
public static IModule UseLiquid(this IModule module, Action<LiquidFeature>? configure = default)
|
||
|
|
{
|
||
|
|
module.Configure(configure);
|
||
|
|
return module;
|
||
|
|
}
|
||
|
|
}
|