コード例 #1
0
ファイル: Adapter.cs プロジェクト: vishalgoel71/CFS
        public override void LoanEnquiry()
        {
            var adaptee = new LoanDetails();

            _collateral = adaptee.GetLoanDetails(_loanType, 'C');
            _maxTerms   = adaptee.GetLoanDetails(_loanType, 'M');
            _sactionAmountPercentage = adaptee.GetLoanDetails(_loanType, 'S');
            base.LoanEnquiry();
        }
コード例 #2
0
ファイル: Adapter.cs プロジェクト: vishalgoel71/CFS
        public override void LoanEnquiry()
        {
            var adaptee = new LoanDetails();

            _collateral = adaptee.GetLoanDetails(_loanType, 'C');
            _maxTerms   = adaptee.GetLoanDetails(_loanType, 'M');
            _sactionAmountPercentage = adaptee.GetLoanDetails(_loanType, 'S');
            base.LoanEnquiry();
            Console.WriteLine("As per RBI guidelines home loans below 2 million INR will get quarter million subsidy from central govt.");
        }