static void Main(string[] args) { //ICreditManager PersonalFinanceCredit personalFinanceCredit = new PersonalFinanceCredit(); //ICreditManager CarCreditManager carCreditManager = new CarCreditManager(); //ICreditManager MortgageCreditManager mortgageCreditManager = new MortgageCreditManager(); //interface'lerde o interface'i implemente eden class'ın referans numarasını tutabilir ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); List <ILoggerService> loggers = new List <ILoggerService> { new FileLoggerService(), new DatabaseLoggerService() }; BasvuruManager basvuruManager = new BasvuruManager(); basvuruManager.BasvuruYap(personalFinanceCredit, databaseLoggerService); List <ICreditManager> krediler = new List <ICreditManager>() { personalFinanceCredit, carCreditManager }; //basvuruManager.KrediOnBilgilendirme(krediler); }
static void Main(string[] args) { ICreditManager personalFinanceCredit = new PersonalFinanceCredit(); ICreditManager vehicleCreditManager = new VehicleCreditManager(); ICreditManager mortgageCreditManager = new MortgageCredit(); ILoggerService databaseLoggerService = new DateBaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); List <ILoggerService> loggers = new List <ILoggerService> { new SmsLoggerService(), new FileLoggerService() }; AppealManager appealManager = new AppealManager(); appealManager.MakeAnApplication(new ArtisanCreditManager(), loggers); List <ICreditManager> credits = new List <ICreditManager>() { personalFinanceCredit, vehicleCreditManager }; }
static void Main(string[] args) { PersonalFinanceCredit personalFinanceCredit = new PersonalFinanceCredit(); CarCreditManager carCreditManager = new CarCreditManager(); MortgageManager mortgageManager = new MortgageManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); List <ILoggerService> loggers = new List <ILoggerService>() { new SmsLoggerService(), new FileLoggerService() }; ApplicantManager applicantManager = new ApplicantManager(); applicantManager.BasvuruYap(new ArtisanCredit(), loggers); List <ICreditManager> creditList = new List <ICreditManager>() { personalFinanceCredit, carCreditManager }; //applicantManager.KrediOnbilgilendirmesiYap(creditList); }
static void Main(string[] args) { // PersonalFinanceCredit personalFinanceCredit = new PersonalFinanceCredit(); // personalFinanceCredit.Calculate(); // VehicleCredit vehicleCredit = new VehicleCredit(); // vehicleCredit.Calculate(); // MortgageCreditManager mortgageCreditManager = new MortgageCreditManager(); // mortgageCreditManager.Calculate(); /********************************************/ ICreditManager personalFinanceCredit = new PersonalFinanceCredit(); ICreditManager vehicleCredit = new VehicleCredit(); ICreditManager mortgageCreditManager = new MortgageCreditManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); List <ILoggerService> loggers = new List <ILoggerService> { new SmsLoggerService(), new FileLoggerService() }; ApplicationManager applicationManager = new ApplicationManager(); applicationManager.DoApplication(new EsnafCreditManager(), loggers); List <ICreditManager> credits = new List <ICreditManager>() { personalFinanceCredit, mortgageCreditManager, vehicleCredit }; //applicationManager.DoCreditPreInformation(credits); }
static void Main(string[] args) { ICreditManager personelCreditManager = new PersonalFinanceCredit(); ICreditManager transportCreditManager = new TransportCreditManager(); ICreditManager housingLoanManager = new HousingLoanManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); ApplicationManager applicationManager = new ApplicationManager(); applicationManager.MakeAnApplication(transportCreditManager, fileLoggerService); List <ICreditManager> credits = new List <ICreditManager>() { personelCreditManager, transportCreditManager }; //applicationManager.MakeCreditPreNotification(credits); }
static void Main(string[] args) { ICreditManager personalFinanceCredit = new PersonalFinanceCredit(); ICreditManager transportCredit = new TransportCredit(); ICreditManager mortgageLoanManager = new MortgageLoanManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLogerService = new FileLoggerService(); AppealManager appealManger = new AppealManager(); appealManger.BasvuruYap(personalFinanceCredit, new DatabaseLoggerService()); List <ICreditManager> credits = new List <ICreditManager>() { personalFinanceCredit }; }