Exemple #1
0
        private static void ValidateInstallPhase(ContainerType container, ScriptValidator validator)
        {
            container.Visit(validator);

            if (!validator.HadProgressPage)
                throw new ScriptException(UILabels.ProgressPageIsRequired);
        }
        private void VisitChildren(ContainerType action)
        {
            if (action.Items == null)
                return;

            foreach (IScriptAction child in action.Items)
            {
                child.Visit(this);
            }
        }