public StoklarForm()
 {
     InitializeComponent();
     baglanti     = new SqlBaglantisi();
     _urunServis  = InstanceFactory.GetInstance <IUrunService>();
     _firmaServis = InstanceFactory.GetInstance <IFirmaService>();
 }
示例#2
0
        public static IFirmaService GetIFirmaServiceChannel(string fullPathToService)
        {
            ChannelFactory <IFirmaService> channelFactory = new ChannelFactory <IFirmaService>(new WSHttpBinding(SecurityMode.None));
            IFirmaService fs = channelFactory.CreateChannel(new EndpointAddress(fullPathToService));

            return(fs);
        }
示例#3
0
 public ObraTraducidaService(IRepository<ObraTraducida> obraTraducidaRepository,
     IProductoQuerying productoQuerying, IFirmaService firmaService)
 {
     this.obraTraducidaRepository = obraTraducidaRepository;
     this.productoQuerying = productoQuerying;
     this.firmaService = firmaService;
 }
示例#4
0
 public ArticuloService(IRepository<Articulo> articuloRepository,
                        IProductoQuerying productoQuerying, IFirmaService firmaService)
 {
     this.articuloRepository = articuloRepository;
     this.productoQuerying = productoQuerying;
     this.firmaService = firmaService;
 }
示例#5
0
 public CapituloService(IRepository<Capitulo> capituloRepository,
                        IProductoQuerying productoQuerying, IFirmaService firmaService)
 {
     this.capituloRepository = capituloRepository;
     this.productoQuerying = productoQuerying;
     this.firmaService = firmaService;
 }
示例#6
0
 public FirmalarForm()
 {
     InitializeComponent();
     _firmaServis   = InstanceFactory.GetInstance <IFirmaService>();
     _ilceServis    = InstanceFactory.GetInstance <IIlceService>();
     _ilServis      = InstanceFactory.GetInstance <IIlService>();
     _ozelKodServis = InstanceFactory.GetInstance <IOzelKodService>();
 }
示例#7
0
 public AccountController(IKullaniciService kullaniciService,
                          IFirmaService firmaService,
                          IMailService mailService,
                          IRolService rolService)
 {
     _kullaniciService = kullaniciService;
     _firmaService     = firmaService;
     _mailService      = mailService;
     _rolService       = rolService;
 }
 public BankalarForm()
 {
     InitializeComponent();
     _bankaServis = InstanceFactory.GetInstance <IBankaService>();
     _ilServis    = InstanceFactory.GetInstance <IIlService>();
     _ilceServis  = InstanceFactory.GetInstance <IIlceService>();
     _firmaServis = InstanceFactory.GetInstance <IFirmaService>();
     BindData();
     IlCek();
     FirmaCek();
 }
 public TanimlarController(IUnitofWork uow, IBlokService blokService, ITipService tipService, IPersonelService personelService, IAnasayacService anaSayacService, ISayacTipleriService sayacTipleriService,
                           IAnaSayacOrtakDagitimService sayacOrtakAlanService, IBagimsizSayacService bagimsizSayacService, IBagimsizBolumlerService bagimsizSBolumlercService, IKasaService kasaService, IBankaService bankaService,
                           IFirmaService firmaService, IBorcTipleri borcTipleri)
     : base(uow)
 {
     _uow                       = uow;
     _blokService               = blokService;
     _tipService                = tipService;
     _personelService           = personelService;
     _anaSayacService           = anaSayacService;
     _sayacTipleriService       = sayacTipleriService;
     _sayacOrtakAlanService     = sayacOrtakAlanService;
     _bagimsizSayacService      = bagimsizSayacService;
     _bagimsizSBolumlercService = bagimsizSBolumlercService;
     _kasaService               = kasaService;
     _bankaService              = bankaService;
     _firmaService              = firmaService;
     _borcTipleri               = borcTipleri;
 }
示例#10
0
 public EventoService(IRepository<Evento> eventoRepository, IProductoQuerying productoQuerying, IFirmaService firmaService)
 {
     this.eventoRepository = eventoRepository;
     this.productoQuerying = productoQuerying;
     this.firmaService = firmaService;
 }
示例#11
0
 public DictamenService(IRepository<Dictamen> dictamenRepository, IFirmaService firmaService)
 {
     this.dictamenRepository = dictamenRepository;
     this.firmaService = firmaService;
 }
示例#12
0
 public ProyectoService(IRepository<Proyecto> proyectoRepository, IFirmaService firmaService)
 {
     this.proyectoRepository = proyectoRepository;
     this.firmaService = firmaService;
 }
示例#13
0
        public void sendMessageToFirm(string firmName, string message)
        {
            IFirmaService fs = GetIFirmaServiceChannel("http://localhost:8080/" + firmName);

            fs.AcceptMessageFromBank(message);
        }
示例#14
0
 public FirmaController(IFirmaService firmaService)
 {
     _firmaService = firmaService;
 }
示例#15
0
 public ParticipacionMedioService(IRepository<ParticipacionMedio> participacionMedioRepository, IFirmaService firmaService)
 {
     this.participacionMedioRepository = participacionMedioRepository;
     this.firmaService = firmaService;
 }
示例#16
0
 public ReporteService(IRepository<Reporte> reporteRepository, IProductoQuerying productoQuerying, IFirmaService firmaService)
 {
     this.reporteRepository = reporteRepository;
     this.productoQuerying = productoQuerying;
     this.firmaService = firmaService;
 }
示例#17
0
 public OrganoExternoService(IRepository<OrganoExterno> organoExternoRepository, IFirmaService firmaService)
 {
     this.organoExternoRepository = organoExternoRepository;
     this.firmaService = firmaService;
 }
示例#18
0
 public TesisDirigidaService(IRepository<TesisDirigida> tesisDirigidaRepository, IFirmaService firmaService)
 {
     this.tesisDirigidaRepository = tesisDirigidaRepository;
     this.firmaService = firmaService;
 }
示例#19
0
 public LibroService(IRepository<Libro> libroRepository, IProductoQuerying productoQuerying, IFirmaService firmaService)
 {
     this.libroRepository = libroRepository;
     this.productoQuerying = productoQuerying;
     this.firmaService = firmaService;
 }
示例#20
0
 public ProyectoService(IRepository<Proyecto> proyectoRepository, IProductoQuerying productoQuerying, IFirmaService firmaService)
 {
     this.proyectoRepository = proyectoRepository;
     this.productoQuerying = productoQuerying;
     this.firmaService = firmaService;
 }
示例#21
0
 public RehberForm()
 {
     InitializeComponent();
     _firmaServis   = InstanceFactory.GetInstance <IFirmaService>();
     _musteriServis = InstanceFactory.GetInstance <IMusteriService>();
 }
示例#22
0
 public CursoService(IRepository<Curso> cursoRepository, IFirmaService firmaService)
 {
     this.cursoRepository = cursoRepository;
     this.firmaService = firmaService;
 }
示例#23
0
 public FirmaController(IFirmaService etkinlikService)
 {
     _firmaService = etkinlikService;
 }