C# Class ModulusChecking.ModulusChecks.DoubleAlternateModulusCheck

Afficher le fichier Open project: pauldambra/ModulusChecker Class Usage Examples

Méthodes publiques

Méthode Description
GetModulusSum ( BankAccountDetails bankAccountDetails, ModulusWeightMapping weightMapping ) : int

Private Methods

Méthode Description
GetIntArray ( int num ) : IEnumerable

The DoubleAlternate rule adds together the individual digits of the numbers that result from multiplication of sortcode, account number and modulus weighting value. This method takes an integer and returns an array of its individual digits

Method Details

GetModulusSum() public méthode

public GetModulusSum ( BankAccountDetails bankAccountDetails, ModulusWeightMapping weightMapping ) : int
bankAccountDetails ModulusChecking.Models.BankAccountDetails
weightMapping ModulusChecking.Models.ModulusWeightMapping
Résultat int