| | | 1 | | namespace Elsa.Workflows.Models; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// Provides bookmark creation options. |
| | | 5 | | /// </summary> |
| | | 6 | | public class CreateBookmarkArgs |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// A custom ID value to use instead of generating a new one. |
| | | 10 | | /// </summary> |
| | 62 | 11 | | public string? BookmarkId { get; set; } |
| | | 12 | | |
| | | 13 | | /// <summary> |
| | | 14 | | /// An optional stimulus to associate with the bookmark. |
| | | 15 | | /// </summary> |
| | 121 | 16 | | public object? Stimulus { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// An optional callback to invoke when the bookmark is triggered. |
| | | 20 | | /// </summary> |
| | 115 | 21 | | public ExecuteActivityDelegate? Callback { get; set; } |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// An optional name to associate with the bookmark. |
| | | 25 | | /// </summary> |
| | 97 | 26 | | public string? BookmarkName { get; set; } |
| | | 27 | | |
| | | 28 | | /// <summary> |
| | | 29 | | /// Whether the bookmark should be automatically burned when triggered. |
| | | 30 | | /// </summary> |
| | 128 | 31 | | public bool AutoBurn { get; set; } = true; |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// Whether the activity instance ID should be included in the bookmark payload. |
| | | 35 | | /// </summary> |
| | 86 | 36 | | public bool IncludeActivityInstanceId { get; set; } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// Whether the activity being resumed should be automatically completed if CallBack is not specified. |
| | | 40 | | /// </summary> |
| | 124 | 41 | | public bool AutoComplete { get; set; } = true; |
| | | 42 | | |
| | | 43 | | /// <summary> |
| | | 44 | | /// An optional dictionary of metadata to associate with the bookmark. |
| | | 45 | | /// </summary> |
| | 74 | 46 | | public IDictionary<string, string>? Metadata { get; set; } |
| | | 47 | | } |