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