public UseCase( IEmailNotificationPort emailNotificationPort, ITemplateRenderProviderPort templateRenderProviderPort, ITemplateRepositoryPort templateRepositoryPort) { _dispatchNotificationRule = new DispatchNotificationRule(emailNotificationPort); _retrieveTemplateRule = new RetrieveTemplateRule(templateRepositoryPort); _makeDispatchDataNotificationRule = new MakeDispatchDataNotificationRule(templateRenderProviderPort); }
public DispatchNotificationRule(IEmailNotificationPort emailNotificationPort) { _emailNotificationPort = emailNotificationPort; }