Пример #1
0
        }         // GetMonthlyRepaymentData

        public Inference GetInferenceIfExists(
            int customerID,
            DateTime time,
            bool includeTryOutData,
            decimal monthlyPayment
            )
        {
            Log.Debug(
                "Engine.GetInferenceIfExists({0}, {1}, {2}, {3}) started...",
                customerID,
                time.ToString("d/MMM/yyyy H:mm:ss", CultureInfo.InvariantCulture),
                includeTryOutData,
                monthlyPayment
                );

            Inference result = Keeper.LoadInferenceIfExists(customerID, time, includeTryOutData, monthlyPayment);

            Log.Debug(
                "Engine.GetInference({0}, {1}, {2}, {3}) complete.",
                customerID,
                time.ToString("d/MMM/yyyy H:mm:ss", CultureInfo.InvariantCulture),
                includeTryOutData,
                monthlyPayment
                );

            return(result);
        }         // GetInferenceIfExists