namespace Elsa.Common;
///
/// Specifies dependencies for a task implementation. Tasks with dependencies will be executed after their dependencies have completed.
///
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class TaskDependencyAttribute(Type dependencyTaskType) : Attribute
{
///
/// The type of the task that must complete before this task can execute.
///
public Type DependencyTaskType { get; } = dependencyTaskType;
}