Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ActivityType class with required
 /// arguments.
 /// </summary>
 public ActivityType(string name, ActivityTypeProperties 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 ActivityType class with required
 /// arguments.
 /// </summary>
 public ActivityType(string name, ActivityTypeProperties properties)
     : this()
 {
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Name       = name;
     this.Properties = properties;
 }