Esempio n. 1
0
        public IEngineProfile BuildEngineProfile(MonthPeriod period)
        {
            IPeriodEngine periodEngine = HistoryOfPeriod.ResolveEngine(period);
            ITaxingEngine taxingEngine = HistoryOfTaxing.ResolveEngine(period);
            IHealthEngine healthEngine = HistoryOfHealth.ResolveEngine(period);
            ISocialEngine socialEngine = HistoryOfSocial.ResolveEngine(period);

            return(new EngineProfile(period, periodEngine, taxingEngine, healthEngine, socialEngine));
        }
Esempio n. 2
0
        public ICountryProfile BuildCountryProfile(Period period)
        {
            IEmployEngine periodEngine = HistoryOfEmploy.ResolveEngine(period);
            ITaxingEngine taxingEngine = HistoryOfTaxing.ResolveEngine(period);
            IHealthEngine healthEngine = HistoryOfHealth.ResolveEngine(period);
            ISocialEngine socialEngine = HistoryOfSocial.ResolveEngine(period);

            return(new CountryProfile(period, periodEngine, taxingEngine, healthEngine, socialEngine));
        }