public TanimlayiciVarlikIsKurali(IOgrenimDurumuRepository ogrenimRepository, IUnvanRepository unvanRepository, IGorevRepository gorevRepository)
 {
     this._unvanRepository   = unvanRepository;
     this._ogrenimRepository = ogrenimRepository;
     this._gorevRepository   = gorevRepository;
     this._hataIsKurali      = new HataIsKurali();
 }
 private void yazHata(DKMPHataAltyapi.Soyut.HataBase hata)
 {
     if (hata != null)
     {
         HataIsKurali ik = new HataIsKurali();
         ik.YazHata(hata);
     }
 }
 private void yazHata(Exception hata)
 {
     if (hata != null)
     {
         HataIsKurali ik = new HataIsKurali();
         ik.YazHata(hata);
     }
 }
        public OgrenimIsKurali(IKisiOgrenimRepository kisiOgrenimRepository)
        {
            if (kisiOgrenimRepository == null)
            {
                throw new ArgumentNullException();
            }

            this._kisiOgrenimRepository = kisiOgrenimRepository;
            this._kontrol      = new Kontrol();
            this._hataIsKurali = new HataIsKurali();
        }
        public KisiIletisimIsKurali(IKisiIletisimRepository repository)
        {
            if (repository == null)
            {
                throw new ArgumentNullException();
            }

            this._kisiIletisimRepository = repository;
            this._kontrol      = new Kontrol();
            this._hataIsKurali = new HataIsKurali();
        }
Ejemplo n.º 6
0
        public GorevlendirmeIsKurali(ICalisanGorevRepository repository, IGorevRepository tanimlayiciVarlikRepository, IUnvanRepository unvanRepository, IKisiIletisimRepository kisiIletisim, IKisiOgrenimRepository kisiOgrenimRepository)
        {
            if (repository == null || tanimlayiciVarlikRepository == null || unvanRepository == null)
            {
                throw new ArgumentNullException();
            }

            this._calisanGorevRepository = repository;
            this._gorevRepository        = tanimlayiciVarlikRepository;
            this._kisiIletisim           = kisiIletisim;
            this._kisiOgrenimRepository  = kisiOgrenimRepository;
            this._unvanRepository        = unvanRepository;
            this._kontrol      = new Kontrol();
            this._hataIsKurali = new HataIsKurali();
        }