Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the MetricSetting class with required
 /// arguments.
 /// </summary>
 public MetricSetting(string resourceId, MetricSettingValue value)
     : this()
 {
     if (resourceId == null)
     {
         throw new ArgumentNullException("resourceId");
     }
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     this.ResourceId = resourceId;
     this.Value      = value;
 }
 /// <summary>
 /// Initializes a new instance of the MetricSetting class with required
 /// arguments.
 /// </summary>
 public MetricSetting(string resourceId, MetricSettingValue value)
     : this()
 {
     if (resourceId == null)
     {
         throw new ArgumentNullException("resourceId");
     }
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     this.ResourceId = resourceId;
     this.Value = value;
 }