public frmLogin() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _personelRepo = container.Get <IPersonelRepository>(); InitializeComponent(); }
public FormPersonelIslemleri() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _uow = container.Get <IUnitOfWork>(); _personelService = container.Get <IPersonelService>(); InitializeComponent(); }
public FormLogin() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _loginService = container.Get <ILoginService>(); _loginRepo = container.Get <ILoginRepository>(); InitializeComponent(); }
public frmFilmTuru() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _filmturservice = container.Get <IFilmTuruService>(); _filmturrepo = container.Get <IFilmTuruRepository>(); InitializeComponent(); }
public FormOdaIslemleri() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _unitOfWork = container.Get <IUnitOfWork>(); _odaService = container.Get <IOdaService>(); InitializeComponent(); }
public frmUnvanEkle() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _unvanService = container.Get <IUnvanService>(); _unvanRepo = container.Get <IUnvanRepository>(); InitializeComponent(); }
public FormResepsiyon() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _unitOfWork = container.Get <IUnitOfWork>(); _odaRepo = container.Get <IOdaRepository>(); InitializeComponent(); }
public FormFatura() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _faturaRepo = container.Get <IFaturaRepository>(); _uow = container.Get <IUnitOfWork>(); InitializeComponent(); }
public FormKullaniciAyarlari() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _uow = container.Get <IUnitOfWork>(); _logService = container.Get <ILoginService>(); //_logService = container.Get<ILoginService>(); InitializeComponent(); }
public FormParent() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _personelRepo = container.Get <IPersonelRepository>(); _filmRepo = container.Get <IFilmRepository>(); _salonRepo = container.Get <ISalonRepository>(); InitializeComponent(); }
public FormResepsiyon() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _uow = container.Get <IUnitOfWork>(); _musteriService = container.Get <IMusteriService>(); _musteriRepo = container.Get <IMusteriRepository>(); CheckForIllegalCrossThreadCalls = false; InitializeComponent(); }
public FormSalon2(Film f, int SeansId, int SalonId) { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _uow = container.Get <IUnitOfWork>(); this.f = f; this.SeansId = SeansId; this.SalonId = SalonId; InitializeComponent(); }
public void Container_WhenRegistered_ResolvesMappedType() { var container = new NinjectDependencyContainer(); container.RegisterType(typeof (BaseType), typeof (DerivedType)); var instance = container.Resolve(typeof (BaseType)); Assert.NotNull(instance); Assert.IsType<DerivedType>(instance); }
public frmPersonelKayitFormu() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _personelservice = container.Get <IPersonelService>(); _personelrepo = container.Get <IPersonelRepository>(); _unvanRepo = container.Get <IUnvanRepository>(); _cinsiyetRepo = container.Get <ICinsiyetRepository>(); InitializeComponent(); }
public FormFilmIslemleri() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _filmRepo = container.Get <IFilmRepository>(); _filmTuruRepo = container.Get <IFilmTuruRepository>(); _salonRepo = container.Get <ISalonRepository>(); _filmService = container.Get <IFilmService>(); InitializeComponent(); }
public ProductForm() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _service = container.Get <IProductService>(); _repo = container.Get <IProductRepository>(); _categoryRepo = container.Get <ICategoryRepository>(); InitializeComponent(); }
public FormFilmSeansSalonSec() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _filmService = container.Get <IFilmService>(); _filmRepo = container.Get <IFilmRepository>(); _seansRepo = container.Get <ISeansRepository>(); _salonRepo = container.Get <ISalonRepository>(); _giseRepo = container.Get <IGiseRepository>(); InitializeComponent(); }
public void Container_WhenRegistered_ResolvesMappedType() { var container = new NinjectDependencyContainer(); container.RegisterType(typeof(BaseType), typeof(DerivedType)); var instance = container.Resolve(typeof(BaseType)); Assert.NotNull(instance); Assert.IsType <DerivedType>(instance); }
public frmFilmKayitİslemleri() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _filmservice = container.Get <IFilmServices>(); _filmrepo = container.Get <IFilmRepository>(); _filmturRepo = container.Get <IFilmTuruRepository>(); InitializeComponent(); }
public FormPersonelIslemleri() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _personelRepo = container.Get <IPersonelRepository>(); _unvanRepo = container.Get <IUnvanRepository>(); _cinsiyetRepo = container.Get <ICinsiyetRepository>(); _personelService = container.Get <IPersonelService>(); _loginRepo = container.Get <ILoginRepository>(); InitializeComponent(); }
public FormSalon4(Film f, int SeansId, int SalonId) { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); //_koltukRepo = container.Get<IKoltukRepository>(); //_gosterimRepo = container.Get<IGosterimRepository>(); //_giseRepo = container.Get<IGiseRepository>(); //_biletSatisRepo = container.Get<IBiletSatisRepository>(); _uow = container.Get <IUnitOfWork>(); this.f = f; this.SeansId = SeansId; this.SalonId = SalonId; InitializeComponent(); }
public frmBiletSatisIslemleri(int PersonelId) { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _gosterimservice = container.Get <IGosterimService>(); _gosterimrepo = container.Get <IGosterimRepository>(); _seansRepo = container.Get <ISeansRepository>(); _salonRepo = container.Get <ISalonRepository>(); _filmRepo = container.Get <IFilmRepository>(); _biletRepo = container.Get <IBiletSatisRepository>(); _koltukRepo = container.Get <IKoltukRepository>(); PrsnlId = PersonelId; InitializeComponent(); }
public frmGosterimKayitIslemleri() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _gosterimservice = container.Get <IGosterimService>(); _gosterimrepo = container.Get <IGosterimRepository>(); _seansRepo = container.Get <ISeansRepository>(); _salonRepo = container.Get <ISalonRepository>(); _filmRepo = container.Get <IFilmRepository>(); _biletRepo = container.Get <IBiletSatisRepository>(); _koltukRepo = container.Get <IKoltukRepository>(); //_persoRepo = container.Get<IPersonelRepository>(); //_seyirciRepo = container.Get<ISeyirciRepository>(); //_odemeskliRepo = container.Get<IOdemeSekliRepository>(); InitializeComponent(); }
public FormBilet(Seyirci s, string filmAd, ICollection <string> koltuklar, Gosterim gosterim, int biletTur) { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); //_giseRepo = container.Get<IGiseRepository>(); //_faturaRepo = container.Get<IFaturaRepository>(); //_biletturRepo = container.Get<IBiletTuruRepository>(); _biletSatisRepo = container.Get <IBiletSatisRepository>(); _seyirciRepo = container.Get <ISeyirciRepository>(); //_personelRepo = container.Get<IPersonelRepository>(); _uow = container.Get <IUnitOfWork>(); InitializeComponent(); this.s = s; this.filmAd = filmAd; this.koltuklar = koltuklar; this.gosterim = gosterim; this.biletTur = biletTur; }
public frmKoltukSecimi(Gosterim gstrm, int PersonelId) { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); _biletRepo = container.Get <IBiletSatisRepository>(); _gosterimrepo = container.Get <IGosterimRepository>(); _persnelRepo = container.Get <IPersonelRepository>(); _seyirciRepo = container.Get <ISeyirciRepository>(); Biletler = _biletRepo.GetByFilter(x => x.GosterimID == gstrm.GosterimID); foreach (var item in Biletler) { if (item.Satıldı == true) { koltuklar.Add(item.Koltuk.KoltukAD); } } secilengstrm = gstrm; PrsnlId = PersonelId; InitializeComponent(); }
public FormResepsiyon() { var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel()); InitializeComponent(); }
public TowersGame() { Container = new NinjectDependencyContainer(); }