namespace Elsa.Features.Attributes;
///
/// Specifies that the feature depends on another feature.
///
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class DependsOnAttribute : Attribute
{
///
/// Initializes a new instance of the class.
///
/// The type of the feature this feature depends on.
public DependsOnAttribute(Type type)
{
Type = type;
}
///
/// The type of the feature this feature depends on.
///
public Type Type { get; set; }
}