XenAdmin.Wizards.ImportWizard.ImportEulaPage.CheckNumberOfEulas C# (CSharp) Method

CheckNumberOfEulas() private method

private CheckNumberOfEulas ( int number, string &error ) : bool
number int
error string
return bool
        private bool CheckNumberOfEulas(int number, out string error)
        {
            error = string.Empty;

            if (number > MAX_EULA_DOCS)
            {
                error = Messages.IMPORT_EULA_PAGE_MAX_TABS;
                return false;
            }

            return true;
        }