Ejemplo n.º 1
0
 public void CreatingNotificationsUsingFactoryMethodPattern()
 {
     var email        = EmailNotification.Create("*****@*****.**", "Some cool notification", "Trying out the factory method pattern");
     var sms          = TextMessageNotification.Create("780-444-3025", "Trying out the factory method pattern");
     var notification = InternalNotification.Create(8252, "Some cool notificatio", "Trying out the factory method pattern");
 }