Пример #1
0
        //private ISendWith sendWith;

        //Parameterkent fogadjuk az ososztalyat
        public EmailServiceWithLogger(EmailService service, AbstractSendWith sendWith) : base(sendWith)
        {
            this.service = service;
            //this.sendWith = sendWith; //ez nem kell, mert a sendWith-et atadtuk a bazisosztalynak
        }
Пример #2
0
 public EmailServiceProxy(EmailService service, AbstractSendWith sendWith)
     : base(sendWith)
 {
     this.service = service;
 }
Пример #3
0
 public EmailServiceWithLogger(EmailService service, AbstractSendWith sendWith)
     : base(sendWith)
 {
     this.service = service;
 }