예제 #1
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (BackendHttpSettings != null)
     {
         BackendHttpSettings.Validate();
     }
 }
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (BackendHttpSettings != null)
     {
         BackendHttpSettings.Validate();
     }
     if (Servers != null)
     {
         foreach (var element in Servers)
         {
             if (element != null)
             {
                 element.Validate();
             }
         }
     }
 }