Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Pipeline class with required
 /// arguments.
 /// </summary>
 public Pipeline(string name, PipelineProperties properties)
     : this()
 {
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Name       = name;
     this.Properties = properties;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Pipeline class with required
 /// arguments.
 /// </summary>
 public Pipeline(string name, PipelineProperties properties)
     : this()
 {
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Name = name;
     this.Properties = properties;
 }