コード例 #1
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (SetupTask != null)
     {
         SetupTask.Validate();
     }
 }
コード例 #2
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (SetupTask != null)
     {
         SetupTask.Validate();
     }
     if (PerformanceCountersSettings != null)
     {
         PerformanceCountersSettings.Validate();
     }
 }