Ejemplo n.º 1
0
 /// <summary>
 /// Proceed sanity check of inserted values.
 /// </summary>
 /// <param name="errors">Found errors.</param>
 /// <param name="warnings">Found warnings.</param>
 public virtual void SanityCheck(ref List <string> errors, ref List <string> warnings)
 {
     Wind?.SanityCheck(ref errors, ref warnings);
     Visibility?.SanityCheck(ref errors, ref warnings);
     Phenomena?.SanityCheck(ref errors, ref warnings);
     Clouds?.SanityCheck(ref errors, ref warnings);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Proceed sanity check of inserted values.
 /// </summary>
 /// <param name="errors">Found errors.</param>
 /// <param name="warnings">Found warnings.</param>
 public virtual void SanityCheck(ref List <string> errors, ref List <string> warnings)
 {
     if (Wind != null)
     {
         Wind.SanityCheck(ref errors, ref warnings);
     }
     if (Visibility != null)
     {
         this.Visibility.SanityCheck(ref errors, ref warnings);
     }
     if (Phenomens != null)
     {
         this.Phenomens.SanityCheck(ref errors, ref warnings);
     }
     if (Clouds != null)
     {
         this.Clouds.SanityCheck(ref errors, ref warnings);
     }
 }