Beispiel #1
0
 public void onStartIteration()
 {
     foreach (IRuleBase rule in rules)
     {
         if (rule is IRuleActiveBase)
         {
             IRuleActiveBase rule_IRuleActiveBase = (IRuleActiveBase)rule;
             rule_IRuleActiveBase.onStartIteration();
         }
     }
 }
Beispiel #2
0
 public virtual void startIteration(int currentIteration, modelSpiderSiteRecord __wRecord)
 {
     foreach (IRuleBase rule in rules)
     {
         if (rule is IRuleActiveBase)
         {
             IRuleActiveBase rule_IRuleActiveBase = (IRuleActiveBase)rule;
             rule_IRuleActiveBase.startIteration(currentIteration, __wRecord);
         }
         else if (rule is layerDistributionRuleBase)
         {
             layerDistributionRuleBase rule_layerDistributionRuleBase = (layerDistributionRuleBase)rule;
             rule_layerDistributionRuleBase.startIteration(currentIteration, __wRecord);
         }
     }
 }