コード例 #1
0
        public FormDoktorIslemleri()
        {
            var container = DependecyResolver.NinjectDependecyContainer.RegisterDependency(new StandardKernel());

            _hastaKabulRepository    = container.Get <IHastaKabulRepository>();
            _hastaKabulService       = container.Get <IHastaKabulService>();
            _hastaSikayetleriService = container.Get <IHastaSikayetleriService>();
            InitializeComponent();
        }
コード例 #2
0
        public FormDoktorIslemleri()
        {
            var container = NinjectDependecyContainer.RegisterDependency(new StandardKernel());

            _hastaKabulRepository         = container.Get <IHastaKabulRepository>();
            _hastaKabulService            = container.Get <IHastaKabulService>();
            _hastaSikayetleriService      = container.Get <IHastaSikayetleriService>();
            _teshisService                = container.Get <ITeshisService>();
            _receteService                = container.Get <IReceteService>();
            _receteDetayService           = container.Get <IReceteDetayService>();
            _receteDetayRepository        = container.Get <IReceteDetayRepository>();
            _hizmetService                = container.Get <IHizmetService>();
            _hastaHizmetHareketService    = container.Get <IHastaHizmetHareketService>();
            _hastaHizmetHareketRepository = container.Get <IHastaHizmetHareketRepository>();
            _hastaTahlilSonuclariService  = container.Get <IHastaTahlilSonuclariService>();

            InitializeComponent();
        }
コード例 #3
0
 public HastaKabulService(IHastaKabulRepository hastaKabulRepository)
 {
     _hastaKabulRepository = hastaKabulRepository;
 }