public UseCase(
     IEmailNotificationPort emailNotificationPort,
     ITemplateRenderProviderPort templateRenderProviderPort,
     ITemplateRepositoryPort templateRepositoryPort)
 {
     _dispatchNotificationRule         = new DispatchNotificationRule(emailNotificationPort);
     _retrieveTemplateRule             = new RetrieveTemplateRule(templateRepositoryPort);
     _makeDispatchDataNotificationRule = new MakeDispatchDataNotificationRule(templateRenderProviderPort);
 }
Пример #2
0
 public MakeDispatchDataNotificationRule(ITemplateRenderProviderPort templateRenderProviderPort)
 {
     _templateRenderProviderPort = templateRenderProviderPort;
 }