Example #1
0
 public LoggedOrderNotifierDecorator(IOrderNotifier orderNotifier)
 {
     this.orderNotifier = orderNotifier;
 }
 public OrderNotifierDecorator(IOrderNotifier logger, IOrderNotifier emailNotifierAdapter)
 {
     _logger        = logger;
     _emailNotifier = emailNotifierAdapter;
 }
Example #3
0
 public OrderServiceWithDependencyInjection(IOrderNotifier orderNotifier)
 {
     this.orderNotifier = orderNotifier;
 }