/// <summary>
 /// Initializes a new instance of the JobCreateOrUpdateParameters class
 /// with required arguments.
 /// </summary>
 public JobCreateOrUpdateParameters(JobAction action)
     : this()
 {
     if (action == null)
     {
         throw new ArgumentNullException("action");
     }
     this.Action = action;
 }
 /// <summary>
 /// Initializes a new instance of the JobCreateOrUpdateParameters class
 /// with required arguments.
 /// </summary>
 public JobCreateOrUpdateParameters(JobAction action)
     : this()
 {
     if (action == null)
     {
         throw new ArgumentNullException("action");
     }
     this.Action = action;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the Job class with required arguments.
 /// </summary>
 public Job(string id, JobAction action)
     : this()
 {
     if (id == null)
     {
         throw new ArgumentNullException("id");
     }
     if (action == null)
     {
         throw new ArgumentNullException("action");
     }
     this.Id     = id;
     this.Action = action;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the Job class with required arguments.
 /// </summary>
 public Job(string id, JobAction action)
     : this()
 {
     if (id == null)
     {
         throw new ArgumentNullException("id");
     }
     if (action == null)
     {
         throw new ArgumentNullException("action");
     }
     this.Id = id;
     this.Action = action;
 }