예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RunbookDefinition"/> class.
 /// </summary>
 /// <param name="runbookVersion">
 /// The runbook version.
 /// </param>
 /// <param name="content">
 /// The content.
 /// </param>
 public RunbookDefinition(AutomationManagement.Models.RunbookVersion runbookVersion, byte[] content)
 {
     this.RunbookVersion = new RunbookVersion(runbookVersion);
     this.Content = System.Text.Encoding.UTF8.GetString(content);
 }
예제 #2
0
 public JobParameter(AutomationManagement.Models.JobParameter jobParameter)
 {
     this.Name = jobParameter.Name;
     this.Value = jobParameter.Value;
     this.Type = jobParameter.Type;
 }