コード例 #1
0
        static void Main(string[] args)
        {
            ICreditManager need = new NeedCreditManager();

            ICreditManager vehicle = new VehicleCreditManager();

            ICreditManager house = new HousingCreditManager();

            ILoggerService dataBase = new DataBaseLoggerService();
            ILoggerService file     = new FileLoggerService();
            ApplyManager   apply    = new ApplyManager();

            apply.Apply(need, file);

            List <ICreditManager> credits =
                new List <ICreditManager>()
            {
                need, house
            };
            //apply.CreditInform(credits);
        }
コード例 #2
0
        static void Main(string[] args)
        {
            IKrediManager ihtiyacKrediManager = new IhtiyacKrediManager();
            IKrediManager tasıtKrediManeger   = new TasıtKrediManeger();
            IKrediManager konutKredianager    = new KonutKredianager();

            ILoggerService dataBaseLoggerService = new DataBaseLoggerService();
            ILoggerService fileLoggerService     = new FileLoggerService();


            BasvuruManager basvuruManager = new BasvuruManager();

            basvuruManager.BasvuruYap(ihtiyacKrediManager, fileLoggerService);


            List <IKrediManager> krediler = new List <IKrediManager>()
            {
                ihtiyacKrediManager, tasıtKrediManeger
            };

            //basvuruManager.KrdiOnBilgilendirmesiYap(krediler);
        }