forked from elsa-workflows/elsa-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define inputs in reusable objects (elsa-workflows#3148)
* Parse object to get inputs * properties name
- Loading branch information
1 parent
da901d4
commit c4bade7
Showing
4 changed files
with
115 additions
and
16 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/core/Elsa.Abstractions/Attributes/ActivityInputObjectAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace Elsa.Attributes | ||
{ | ||
[AttributeUsage(AttributeTargets.Property)] | ||
public class ActivityInputObjectAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// A category to group these property with - will be overidden by any inputs that specify their own category. | ||
/// </summary> | ||
public string? Category { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters