Skip to content

Commit d52cd35

Browse files
Hashtable for jobRecords
1 parent 587c9b4 commit d52cd35

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ResourceManager/Automation/Commands.Automation/Model/JobStreamRecord.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class JobStreamRecord : JobStream
4646
/// </exception>
4747
public JobStreamRecord(AutomationManagement.Models.JobStream jobStream, string resourceGroupName, string automationAccountName, Guid jobId ) : base (jobStream, resourceGroupName, automationAccountName, jobId)
4848
{
49-
this.Value = new List<object>();
49+
this.Value = new Hashtable();
5050
foreach (var kvp in jobStream.Properties.Value)
5151
{
5252
object paramValue;
@@ -61,9 +61,8 @@ public JobStreamRecord(AutomationManagement.Models.JobStream jobStream, string r
6161

6262
paramValue = kvp.Value;
6363
}
64-
this.Value.Add(paramValue);
64+
this.Value.Add(kvp.Key, paramValue);
6565
}
66-
6766
}
6867

6968
/// <summary>
@@ -76,6 +75,6 @@ public JobStreamRecord()
7675
/// <summary>
7776
/// Gets or sets the stream values.
7877
/// </summary>
79-
public List<object> Value { get; set; }
78+
public Hashtable Value { get; set; }
8079
}
8180
}

0 commit comments

Comments
 (0)