コード例 #1
0
 /// <summary>
 /// Constructs a new Expected Family Contribution (EFC) calculator
 /// </summary>
 /// <param name="constants"><see cref="EfcCalculatorConstants"/> used in the calculation of
 /// Expected Family Contribution (EFC)</param>
 /// <param name="incomeCalculator">Calculator used in income calculations</param>
 /// <param name="allowanceCalculator">Calculator used in allowance calculations</param>
 /// <param name="assetContributionCalculator">Calculator used in asset contribution calculations</param>
 /// <param name="aaiContributionCalculator">Calculator used in Adjusted Available Income (AAI) contribution
 /// calculations</param>
 public EfcCalculator(EfcCalculatorConstants constants,
                      IncomeCalculator incomeCalculator,
                      AllowanceCalculator allowanceCalculator,
                      AssetContributionCalculator assetContributionCalculator,
                      AaiContributionCalculator aaiContributionCalculator)
 {
     _constants                   = constants;
     _incomeCalculator            = incomeCalculator;
     _allowanceCalculator         = allowanceCalculator;
     _assetContributionCalculator = assetContributionCalculator;
     _aaiContributionCalculator   = aaiContributionCalculator;
 }
コード例 #2
0
 /// <summary>
 /// Constructs a new Expected Family Contribution (EFC) calculator
 /// </summary>
 /// <param name="constants"><see cref="EfcCalculatorConstants"/> used in the calculation of
 /// Expected Family Contribution (EFC)</param>
 /// <param name="incomeCalculator">Calculator used in income calculations</param>
 /// <param name="allowanceCalculator">Calculator used in allowance calculations</param>
 /// <param name="assetContributionCalculator">Calculator used in asset contribution calculations</param>
 /// <param name="aaiContributionCalculator">Calculator used in Adjusted Available Income (AAI) contribution
 /// calculations</param>
 public EfcCalculator(EfcCalculatorConstants constants,
                             IncomeCalculator incomeCalculator,
                             AllowanceCalculator allowanceCalculator,
                             AssetContributionCalculator assetContributionCalculator,
                             AaiContributionCalculator aaiContributionCalculator)
 {
     _constants = constants;
     _incomeCalculator = incomeCalculator;
     _allowanceCalculator = allowanceCalculator;
     _assetContributionCalculator = assetContributionCalculator;
     _aaiContributionCalculator = aaiContributionCalculator;
 }