Skip to content

Commit

Permalink
Added variable helpers to LoadDictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
openbots-ff committed Mar 20, 2020
1 parent 24db002 commit cbe2249
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions taskt/Core/Automation/Commands/LoadDictionaryCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ public class LoadDictionaryCommand : ScriptCommand
{
[XmlAttribute]
[Attributes.PropertyAttributes.PropertyDescription("Please Enter the Dictionary Name")]
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
[Attributes.PropertyAttributes.InputSpecification("Enter a name for a Dictionary.")]
[Attributes.PropertyAttributes.SampleUsage("**myDictionary**")]
[Attributes.PropertyAttributes.Remarks("")]
public string v_DictionaryName { get; set; }

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

[XmlAttribute]
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the Sheet Name")]
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowFileSelectionHelper)]
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
[Attributes.PropertyAttributes.InputSpecification("Enter the sheet name of the workbook to be read.")]
[Attributes.PropertyAttributes.SampleUsage("Sheet1")]
[Attributes.PropertyAttributes.Remarks("")]
public string v_SheetName { get; set; }

[XmlAttribute]
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the Key column")]
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowFileSelectionHelper)]
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
[Attributes.PropertyAttributes.InputSpecification("Enter the key column name to create a Dictionary off of.")]
[Attributes.PropertyAttributes.SampleUsage("keyColumn")]
[Attributes.PropertyAttributes.Remarks("")]
public string v_KeyColumn { get; set; }

[XmlAttribute]
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the Value Column")]
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowFileSelectionHelper)]
[Attributes.PropertyAttributes.PropertyUIHelper(Attributes.PropertyAttributes.PropertyUIHelper.UIAdditionalHelperType.ShowVariableHelper)]
[Attributes.PropertyAttributes.InputSpecification("Enter a value column name to create a Dictionary off of.")]
[Attributes.PropertyAttributes.SampleUsage("valueColumn")]
[Attributes.PropertyAttributes.Remarks("")]
Expand Down

0 comments on commit cbe2249

Please sign in to comment.