コード例 #1
0
 public PaypalCommandHandler(IConfiguration configuration,
                             IOrderRepository orderRepository,
                             ISnsClient snsClient,
                             ILogger logger)
 {
     _configuration   = configuration;
     _orderRepository = orderRepository;
     _snsClient       = snsClient;
     _logger          = logger;
 }
コード例 #2
0
 public RecoverEmailCommandHandler(IAccountRepository accountRepository,
                                   ISnsClient snsClient,
                                   IConfiguration configuration,
                                   ISecurityTokenHandler securityTokenHandler,
                                   IAwsSecretManagerService awsSecretManagerService,
                                   ILogger logger)
 {
     _accountRepository       = accountRepository;
     _snsClient               = snsClient;
     _configuration           = configuration;
     _securityTokenHandler    = securityTokenHandler;
     _awsSecretManagerService = awsSecretManagerService;
     _logger = logger;
 }
コード例 #3
0
 public CreateAccountsCommandHandler(IRoleClaimAggregationRepository roleClaimAggregationRepository,
                                     IRoleRepository roleRepository,
                                     IAccountRepository accountRepository,
                                     IPasswordHasher passwordHasher,
                                     ISnsClient snsClient,
                                     IConfiguration configuration,
                                     ISecurityTokenHandler securityTokenHandler,
                                     IAwsSecretManagerService awsSecretManagerService)
 {
     _roleClaimAggregationRepository = roleClaimAggregationRepository;
     _roleRepository          = roleRepository;
     _accountRepository       = accountRepository;
     _passwordHasher          = passwordHasher;
     _snsClient               = snsClient;
     _configuration           = configuration;
     _securityTokenHandler    = securityTokenHandler;
     _awsSecretManagerService = awsSecretManagerService;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AwsMessagePublisher" /> class.
 /// </summary>
 /// <param name="messageLogger">Message logger</param>
 public AwsMessagePublisher(IMessageLogger messageLogger)
 {
     _snsClient     = null;
     _messageLogger = messageLogger;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AwsMessagePublisher" /> class.
 /// </summary>
 /// <param name="snsClient">SNS client to publish to</param>
 /// <param name="messageLogger">Message logger</param>
 public AwsMessagePublisher(ISnsClient snsClient, IMessageLogger messageLogger)
 {
     _snsClient     = snsClient;
     _messageLogger = messageLogger;
 }
コード例 #6
0
 public SnsCommandHandler(ISnsClient snsClient)
 {
     _snsClient = snsClient;
 }
コード例 #7
0
 public DriverController(IParkingDao dao, ISnsClient sclient, IGcmClient gclient)
 {
     _dao       = dao;
     _snsClient = sclient;
     _gcmClient = gclient;
 }
コード例 #8
0
 public ParkingController(IParkingDao dao, ISnsClient client)
 {
     _dao       = dao;
     _snsClient = client;
 }