예제 #1
0
 public EmailSender(IEmailSenderFactory factory)
 {
     _emailSender = factory.Create();
 }
예제 #2
0
 public EmailSender(IEmailSenderFactory senderFactory)
 {
     this.senderFactory = senderFactory;
 }
예제 #3
0
 public BulkEmailSenderFactory(IEmailSenderFactory emailSenderFactory)
 {
     this._emailSenderFactory = emailSenderFactory;
 }