using Elsa.Caching.Features;
using Elsa.Features.Services;
// ReSharper disable once CheckNamespace
namespace Elsa.Extensions;
///
/// Provides methods to install and configure the distributed caching feature.
///
public static class ModuleExtensions
{
///
/// Adds the feature to the system.
///
public static MemoryCacheFeature UseMemoryCache(this IModule module, Action? configure = default)
{
return module.Configure(configure);
}
}