public UseCase(
     IEmailNotificationPort emailNotificationPort,
     ITemplateRenderProviderPort templateRenderProviderPort,
     ITemplateRepositoryPort templateRepositoryPort)
 {
     _dispatchNotificationRule         = new DispatchNotificationRule(emailNotificationPort);
     _retrieveTemplateRule             = new RetrieveTemplateRule(templateRepositoryPort);
     _makeDispatchDataNotificationRule = new MakeDispatchDataNotificationRule(templateRenderProviderPort);
 }
Beispiel #2
0
 public RetrieveTemplateRule(ITemplateRepositoryPort templateRepositoryPort)
 {
     _templateRepositoryPort = templateRepositoryPort;
 }