Add project files.

This commit is contained in:
2025-08-18 17:11:43 +03:30
parent 807dc263be
commit e5eb10d604
3943 changed files with 223719 additions and 0 deletions
@@ -0,0 +1,31 @@
using JetBrains.Annotations;
namespace Elsa.Features.Services;
/// <summary>
/// Represents a feature.
/// </summary>
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Members)]
public interface IFeature
{
/// <summary>
/// Gets the module that this feature belongs to.
/// </summary>
IModule Module { get; }
/// <summary>
/// Configures the feature.
/// </summary>
void Configure();
/// <summary>
/// Configures the hosted services.
/// </summary>
void ConfigureHostedServices();
/// <summary>
/// Applies the feature by adding services to the service collection.
/// </summary>
void Apply();
}