/// <summary>
 /// Initializes a new instance of the ConnectionTypeCreateParameters
 /// class with required arguments.
 /// </summary>
 public ConnectionTypeCreateParameters(string name, ConnectionTypeCreateProperties properties)
     : this()
 {
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Name = name;
     this.Properties = properties;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the ConnectionTypeCreateParameters
 /// class with required arguments.
 /// </summary>
 public ConnectionTypeCreateParameters(string name, ConnectionTypeCreateProperties properties)
     : this()
 {
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Name       = name;
     this.Properties = properties;
 }