static void Main(string[] args) { ICreditManager demandCreditManager = new DemandCreditManager(); ICreditManager transportCreditManager = new TransportCreditManager(); ICreditManager houseCreditManager = new HouseCreditManager(); ICreditManager artisanCreditManager = new ArtisanCreditManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); ILoggerService smsLoggerService = new SmsLoggerService(); List <ILoggerService> loggerServices = new List <ILoggerService> { smsLoggerService, fileLoggerService, databaseLoggerService }; ApplicationManager applicationManager = new ApplicationManager(); applicationManager.DoApplication(artisanCreditManager, loggerServices); List <ICreditManager> credits = new List <ICreditManager> { demandCreditManager, houseCreditManager, transportCreditManager }; //applicationManager.DoCreditPreinformation(credits); }
static void Main(string[] args) { ICreditManager demandCreditManager = new DemandCreditManager(); ICreditManager vehicleCreditManager = new VehicleCreditManager(); ICreditManager mortgageCreditManager = new MortgageCreditManager(); ICreditManager artificerCreditManager = new ArtificerCreditManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); //ILoggerService smsLoggerService = new SmsLoggerService(); AppealManager appealManager = new AppealManager(); appealManager.DoAppeal(artificerCreditManager, new List <ILoggerService>() { databaseLoggerService, new SmsLoggerService() }); List <ICreditManager> credits = new List <ICreditManager>() { demandCreditManager, vehicleCreditManager }; //appealManager.DoInfoByCredit(credits); }
static void Main(string[] args) { ICreditManager demandCreditManager = new DemandCreditManager(); ICreditManager vehicleCreditManager = new VehicleCreditManager(); ICreditManager mortgageCreditManager = new MortgageCreditManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); ApplicationManager applicationManager = new ApplicationManager(); applicationManager.Appeal(vehicleCreditManager, databaseLoggerService); List <ICreditManager> credits = new List <ICreditManager>() { demandCreditManager, vehicleCreditManager }; //applicationManager.DoPreInfo(credits); }
static void Main(string[] args) { ICreditManager demandCreditManager = new DemandCreditManager(); ICreditManager vehicleCreditManager = new VehicleCreditManager(); ICreditManager homeCreditManager = new HomeCreditManager(); ICreditManager tradeCreditManager = new TradeCreditManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); ILoggerService smsLoggerService = new SmsLoggerService(); ApplicationManager applicationManager = new ApplicationManager(); applicationManager.DoApplication(tradeCreditManager, smsLoggerService); List <ICreditManager> credits = new List <ICreditManager>() { demandCreditManager, vehicleCreditManager }; //applicationManager.DoCreditInformation(credits); }