private List <ConfigurationException> GetAllErrors()
{
List <ConfigurationException> allErrors = null;
if (HasLocationInputs)
{
foreach (SectionInput input in LocationInputs)
{
ErrorsHelper.AddErrors(ref allErrors, input.Errors);
}
}
if (HasIndirectLocationInputs)
{
foreach (SectionInput input in IndirectLocationInputs)
{
ErrorsHelper.AddErrors(ref allErrors, input.Errors);
}
}
if (HasFileInput)
{
ErrorsHelper.AddErrors(ref allErrors, FileInput.Errors);
}
return(allErrors);
}