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

        public IList <LogicalGlueResult> LogicalGlueGetHistory(int underwriterID, int customerID)
        {
            GetHistoryInferences strategy;

            ExecuteSync(out strategy, customerID, underwriterID, customerID);
            var result = strategy.Inferences.Select(x => LogicalGlueResult.FromInference(x, customerID, Log, DB)).ToList();

            return(result);
        }         // LogicalGlueGetHistory
Пример #2
0
        public LogicalGlueResult LogicalGlueGetLastInference(
            int underwriterID,
            int customerID,
            DateTime?date,
            bool includeTryouts
            )
        {
            GetLatestKnownInference strategy;
            var metadata = ExecuteSync(out strategy, customerID, underwriterID, customerID, date, includeTryouts);
            var result   = LogicalGlueResult.FromInference(strategy.Inference, customerID, Log, DB);

            result.MetaData = metadata;
            return(result);
        }         // LoicalGlueGetLastInference
Пример #3
0
        }         // LogicalGlueGetHistory

        public LogicalGlueResult LogicalGlueGetTryout(
            int underwriterID,
            int customerID,
            decimal monthlyRepayment,
            bool isTryout
            )
        {
            GetTryoutInference strategy;
            var metadata = ExecuteSync(out strategy, customerID, underwriterID, customerID, monthlyRepayment, isTryout);
            var result   = LogicalGlueResult.FromInference(strategy.Inference, customerID, Log, DB);

            result.MetaData = metadata;
            return(result);
        }         // LogicalGlueGetTryout