示例#1
0
 public Greeter(IGreetingMessageService service)
 {
     _service = service;
     _message = "Hi from Greeter " + _count++;
 }
示例#2
0
 public Greeter(IGreetingMessageService service)
 {
     _service = service;
     _message = "Hi from Greeter " + _count++;
 }
示例#3
0
 public BirthdayService(IGreetingMessageService greetingMessageService, IEmployeeRepository employeeRepository)
 {
     _greetingMessageService = greetingMessageService;
     _employeeRepository     = employeeRepository;
 }