コード例 #1
0
ファイル: EmailSender.cs プロジェクト: xurimx/FormManager
 public EmailSender(IUserRepository repository,
                    ISmtpConfigurationService service)
 {
     this.repository   = repository;
     this.service      = service;
     _razorLightEngine = new RazorLightEngineBuilder()
                         .UseEmbeddedResourcesProject(typeof(DependencyInjection))
                         .UseMemoryCachingProvider()
                         .Build();
 }
コード例 #2
0
 public UpdateConfigurationCommandHandle(ISmtpConfigurationService smtpService)
 {
     this.smtpService = smtpService;
 }
コード例 #3
0
 public GetSmtpConfigurationQueryHandler(ISmtpConfigurationService smtpSerive)
 {
     this.smtpSerive = smtpSerive;
 }