コード例 #1
0
 public MailboxService(
     MailServerConfiguration mailServerConfiguration,
     AsymmetricCryptoService asymmetricCryptoService,
     EmailCryptoService emailCryptoService,
     MailRepository mailRepository,
     IMessenger messenger,
     ILogger <MailboxService> logger)
 {
     this.mailServerConfiguration = mailServerConfiguration;
     this.asymmetricCryptoService = asymmetricCryptoService;
     this.emailCryptoService      = emailCryptoService;
     this.mailRepository          = mailRepository;
     this.messenger = messenger;
     this.logger    = logger;
 }
コード例 #2
0
 public EmailCryptoService(AsymmetricCryptoService asymmetricCryptoService, SymmetricCryptoService symmetricCryptoService)
 {
     this.asymmetricCryptoService = asymmetricCryptoService;
     this.symmetricCryptoService  = symmetricCryptoService;
 }