//---------------------------------------------------------------------

        public SpecificAgesCohortSelector(IList<ushort>                   ages,
                                          IList<AgeRange>                 ranges,
                                          IDictionary<ushort, Percentage> percentages)
        {
            agesAndRanges = new AgesAndRanges(ages, ranges);
            this.percentages = new Dictionary<ushort, Percentage>(percentages);
        }
        //---------------------------------------------------------------------

        /// <summary>
        /// Creates a new instance.
        /// </summary>
        public SpecificAgesCohortSelector(IList<ushort> ages,
                                          IList<AgeRange> ranges)
        {
            agesAndRanges = new AgesAndRanges(ages, ranges);
        }
Exemple #3
0
        //---------------------------------------------------------------------

        /// <summary>
        /// Creates a new instance.
        /// </summary>
        public SpecificAgesCohortSelector(IList <ushort> ages,
                                          IList <AgeRange> ranges)
        {
            agesAndRanges = new AgesAndRanges(ages, ranges);
        }