using Elsa.Features.Abstractions;
using Elsa.Features.Attributes;
using Elsa.Features.Services;
using Elsa.Http.Scripting.JavaScript;
using Elsa.Expressions.JavaScript.Features;
using Microsoft.Extensions.DependencyInjection;
namespace Elsa.Http.Features;
///
/// Enabled when both and are enabled.
///
[DependencyOf(typeof(HttpFeature))]
[DependencyOf(typeof(JavaScriptFeature))]
public class HttpJavaScriptFeature : FeatureBase
{
///
public HttpJavaScriptFeature(IModule module) : base(module)
{
}
///
public override void Apply()
{
Services.AddNotificationHandler();
}
}