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