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