Skip to content

Commit cbe2249

Browse files
committed
Added variable helpers to LoadDictionary
1 parent 24db002 commit cbe2249

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

taskt/Core/Automation/Commands/LoadDictionaryCommand.cs

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ public class LoadDictionaryCommand : ScriptCommand
1818
{
1919
[XmlAttribute]
2020
[Attributes.PropertyAttributes.PropertyDescription("Please Enter the Dictionary Name")]
21+
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
2122
[Attributes.PropertyAttributes.InputSpecification("Enter a name for a Dictionary.")]
2223
[Attributes.PropertyAttributes.SampleUsage("**myDictionary**")]
2324
[Attributes.PropertyAttributes.Remarks("")]
2425
public string v_DictionaryName { get; set; }
2526

2627
[XmlAttribute]
2728
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the workbook file path")]
29+
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
2830
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowFileSelectionHelper)]
2931
[Attributes.PropertyAttributes.InputSpecification("Enter or Select the path to the applicable file that should be loaded into the Dictionary.")]
3032
[Attributes.PropertyAttributes.SampleUsage(@"C:\temp\myfile.xlsx or [vFilePath]")]
@@ -33,23 +35,23 @@ public class LoadDictionaryCommand : ScriptCommand
3335

3436
[XmlAttribute]
3537
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the Sheet Name")]
36-
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowFileSelectionHelper)]
38+
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
3739
[Attributes.PropertyAttributes.InputSpecification("Enter the sheet name of the workbook to be read.")]
3840
[Attributes.PropertyAttributes.SampleUsage("Sheet1")]
3941
[Attributes.PropertyAttributes.Remarks("")]
4042
public string v_SheetName { get; set; }
4143

4244
[XmlAttribute]
4345
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the Key column")]
44-
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowFileSelectionHelper)]
46+
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
4547
[Attributes.PropertyAttributes.InputSpecification("Enter the key column name to create a Dictionary off of.")]
4648
[Attributes.PropertyAttributes.SampleUsage("keyColumn")]
4749
[Attributes.PropertyAttributes.Remarks("")]
4850
public string v_KeyColumn { get; set; }
4951

5052
[XmlAttribute]
5153
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the Value Column")]
52-
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowFileSelectionHelper)]
54+
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
5355
[Attributes.PropertyAttributes.InputSpecification("Enter a value column name to create a Dictionary off of.")]
5456
[Attributes.PropertyAttributes.SampleUsage("valueColumn")]
5557
[Attributes.PropertyAttributes.Remarks("")]

0 commit comments

Comments
 (0)