using Elsa.Features.Abstractions; using Elsa.Features.Attributes; using Elsa.Features.Services; using Elsa.Http.Contracts; using Elsa.Http.Handlers; using Elsa.Http.Services; using Elsa.Workflows.Management.Features; using Microsoft.Extensions.DependencyInjection; namespace Elsa.Http.Features; /// /// Installs services related to HTTP caching. /// [DependsOn(typeof(HttpFeature))] [DependsOn(typeof(CachingWorkflowDefinitionsFeature))] public class HttpCacheFeature : FeatureBase { /// public HttpCacheFeature(IModule module) : base(module) { } /// public override void Apply() { Services .AddSingleton() .Decorate() .AddNotificationHandler(); } }