ModulusChecking.Models.BankAccountDetails.ExceptionTenPreProcessing C# (CSharp) Метод

ExceptionTenPreProcessing() приватный Метод

private ExceptionTenPreProcessing ( IList mappings ) : IList
mappings IList
Результат IList
        private IList<ModulusWeightMapping> ExceptionTenPreProcessing(IList<ModulusWeightMapping> mappings)
        {
            if (mappings.First().Exception == 10 && AccountNumber.ExceptionTenShouldZeroiseWeights)
            {
                return mappings.Select((m, index) => index == 0 ? ZeroiseUtoB(m) : m).ToList();
            }
            return mappings;
        }