System.Configuration.SectionRecord.GetAllErrors C# (CSharp) 메소드

GetAllErrors() 개인적인 메소드

private GetAllErrors ( ) : List
리턴 List
        private List<ConfigurationException> GetAllErrors() {
            List<ConfigurationException> allErrors = null;

            ErrorsHelper.AddErrors(ref allErrors, _errors);

            if (HasLocationInputs) {
                foreach (SectionInput input in LocationInputs) {
                    ErrorsHelper.AddErrors(ref allErrors, input.Errors);
                }
            }

            if (HasFileInput) {
                ErrorsHelper.AddErrors(ref allErrors, FileInput.Errors);
            }

            return allErrors;
        }