/// <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;
 }