ATMLManagerLibrary.managers.ErrorManager.GatherErrorMessages C# (CSharp) 메소드

GatherErrorMessages() 공개 정적인 메소드

public static GatherErrorMessages ( Form parentForm ) : ICollection
parentForm System.Windows.Forms.Form
리턴 ICollection
        public static ICollection<string> GatherErrorMessages(Form parentForm)
        {
            ICollection<ErrorProvider> errorProviders = new List<ErrorProvider>();
            ICollection<string> errorList = new List<string>();
            GetErrorProviders( parentForm, errorProviders );
            GetErrorMessages(parentForm, errorList, errorProviders);
            return errorList;
        }