Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

publicinterfaceINotificationService<br />{<br />void Notify(Employeeemployee, string Domain Driven Design 101


Published on

publicinterfaceINotificationService{void Notify(Employeeemployee, string message);}An interface defines the modelpublicclassEmailNotificationService : INotificationService{ void Notify(Employeeemployee, string message) {var message = newMailMessage(employee.Email, message);this.smtpClient.Send(message); }}Far away, a concrete class satisfies it

Published in: Technology, Business
  • Login to see the comments