using System;
namespace Elsa.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class ActivityInputAttribute : ActivityPropertyAttributeBase
{
///
/// The user-friendly name of the activity property.
///
public string? Label { get; set; }
///
/// A hint to workflow tooling what input control to use.
///
public string? UIHint { get; set; }
///
/// A value representing options specific to a given UI hint.
///
public object? Options { get; set; }
///
/// The type that provides options.
///
public Type? OptionsProvider { get; set; }
///
/// A category to group this property with.
///
public string? Category { get; set; }
///
/// A value to order this property by. Properties are displayed in ascending order (lower appears before higher).
///
public float Order { get; set; }
///
/// The default value to set.
///
public object? DefaultValue { get; set; }
///
/// The type that provides a default value.
///
public Type? DefaultValueProvider { get; set; }
///
/// The syntax to use by default when evaluating the value. Only used when the property definition doesn't have a syntax specified.
///
public string? DefaultSyntax { get; set; }
///
/// The syntax to use by default when evaluating the value. Only used when the property definition doesn't have a syntax specified.
///
public string[]? SupportedSyntaxes { get; set; }
///
/// A value indicating whether this property should be displayed but as read-only.
///
public bool? IsReadOnly { get; set; }
///
/// A value indicating whether this property should be visible.
///
public bool? IsBrowsable { get; set; }
///
/// A value indicating whether this property MUST be evaluated at runtime to support the workflow designer.
///
public bool IsDesignerCritical { get; set; }
}
}