Beispiel #1
0
        protected void ConfigurePatterns()
        {
            Pattern p = null;

            foreach (XPathNavigator patternNavigator in _packageNavigator.Select("rc:Patterns", _vulcanConfig.NamespaceManager))
            {
                DTS.Executable previousExec = null;
                foreach (XPathNavigator nav in patternNavigator.SelectChildren(XPathNodeType.Element))
                {
                    p = PatternFactory.ProcessPattern(this, this.DTSPackage, nav, null);
                    if (p != null)
                    {
                        AddPrecedenceConstraint(previousExec, p.FirstExecutableGeneratedByPattern, this.DTSPackage);
                        previousExec = p.LastExecutableGeneratedByPattern;
                    }
                }
            }
        }