elsa-core/src/modules/Elsa.Connections.Core/UIHints/ConnexionDropDownUIHintHandler.cs
2025-01-07 11:39:57 +01:00

18 lines
548 B
C#

using System.Reflection;
using Elsa.Workflows;
using Elsa.Workflows.UIHints;
using Elsa.Workflows.UIHints.Dropdown;
namespace Elsa.Connections.UIHints;
public class ConnexionDropDownUIHintHandler : IUIHintHandler
{
/// <inheritdoc />
public string UIHint => $"connexion-{InputUIHints.DropDown}";
/// <inheritdoc />
public ValueTask<IEnumerable<Type>> GetPropertyUIHandlersAsync(PropertyInfo propertyInfo, CancellationToken cancellationToken)
{
return new(new[] { typeof(StaticDropDownOptionsProvider) });
}
}