ModulusChecking.Steps.Calculators.FirstDoubleAlternateCalculator.GetWeightSumForStep C# (CSharp) Method

GetWeightSumForStep() protected method

protected GetWeightSumForStep ( BankAccountDetails bankAccountDetails ) : int
bankAccountDetails ModulusChecking.Models.BankAccountDetails
return int
        protected override int GetWeightSumForStep(BankAccountDetails bankAccountDetails)
        {
            return new DoubleAlternateModulusCheck().GetModulusSum(bankAccountDetails,
                                                            bankAccountDetails.WeightMappings
                                                                              .First());
        }