예제 #1
0
        private void ExpandAttackRates(EPDistributionBaseExpander expander)
        {
            if (this.m_AttackRates.Count > 0)
            {
                IEnumerable <EPDistributionBase> NewItems = expander.Expand(this.m_AttackRates);

                this.m_AttackRates.Clear();

                foreach (AttackRate t in NewItems)
                {
                    this.m_AttackRates.Add(t);
                }
            }
        }
예제 #2
0
        private void ExpandGrowthRateMultipliers(EPDistributionBaseExpander expander)
        {
            if (this.m_GrowthRateMultipliers.Count > 0)
            {
                IEnumerable <EPDistributionBase> NewItems = expander.Expand(this.m_GrowthRateMultipliers);

                this.m_GrowthRateMultipliers.Clear();

                foreach (GrowthRateMultiplier t in NewItems)
                {
                    this.m_GrowthRateMultipliers.Add(t);
                }
            }
        }
예제 #3
0
        private void ExpandSymptomPeriods(EPDistributionBaseExpander expander)
        {
            if (this.m_SymptomPeriods.Count > 0)
            {
                IEnumerable <EPDistributionBase> NewItems = expander.Expand(this.m_SymptomPeriods);

                this.m_SymptomPeriods.Clear();

                foreach (SymptomPeriod t in NewItems)
                {
                    this.m_SymptomPeriods.Add(t);
                }
            }
        }
예제 #4
0
        private void ExpandActualDeaths(EPDistributionBaseExpander expander)
        {
            if (this.m_ActualDeaths.Count > 0)
            {
                IEnumerable <EPDistributionBase> NewItems = expander.Expand(this.m_ActualDeaths);

                this.m_ActualDeaths.Clear();

                foreach (ActualDeath t in NewItems)
                {
                    this.m_ActualDeaths.Add(t);
                }
            }
        }