Beispiel #1
0
        static void Main(string[] args)
        {
            IKrediManager personelKrediManager = new PersonelKrediManager();
            IKrediManager autoKrediManager     = new AutoKrediManager();
            IKrediManager propertyKrediManager = new PropertyKrediManager();

            ILoggerService databaseLoggerService = new DatabaseLoggerService();
            ILoggerService fileLoggerService     = new FileLoggerService();

            BasvuruManager basvuruManager = new BasvuruManager();

            basvuruManager.BasvuruYap(autoKrediManager, new DatabaseLoggerService());

            List <IKrediManager> krediler = new List <IKrediManager>()
            {
                personelKrediManager, autoKrediManager
            };

            //basvuruManager.KrediOnBilgilendirmesiYap(krediler);
        }
Beispiel #2
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);
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            IKrediManager ihtiyacKrediManager = new IhtiyacKrediManager();
            IKrediManager tasitKrediManager   = new TasitKrediManager();
            IKrediManager konutKrediManager   = new KonutKrediManager();

            ILoggerService databaseLoggerService = new DatabaseLoggerService();
            ILoggerService fileLoggerService     = new FileLoggerService();


            BasvuruManager basvuruManager = new BasvuruManager();

            basvuruManager.BasvuruYap(tasitKrediManager, fileLoggerService);

            List <IKrediManager> krediler = new List <IKrediManager>()
            {
                ihtiyacKrediManager, tasitKrediManager
            };

            //basvuruManager.KrediOnBilglendirmesiYap(krediler);
        }
Beispiel #4
0
        static void Main(string[] args)
        //o interface i imlamente eden classın referans numarasını tutabilir.
        {
            IKrediManager ihtiyacKrediManager = new IhtiyacKrediManager();
            IKrediManager taşıtKrediManager   = new TaşıtKrediManager();
            IKrediManager konutKrediManager   = new KonutKrediManager();

            ILoggerService datebaseLoggerService = new DatebaseLoggerService();
            ILoggerService fileLoggerService     = new FileLoggerService();

            BasvuruManager basvuruManager = new BasvuruManager();

            basvuruManager.BasvuruYap(konutKrediManager, new DatebaseLoggerService());

            List <IKrediManager> krediler = new List <IKrediManager>()
            {
                ihtiyacKrediManager, taşıtKrediManager
            };

            //basvuruManager.KrediOnBilgilendirmesiYap(krediler);
        }