public LoanServices(EmailManagerContext context, IEncryptionServices securityEncrypt,
                     IDecryptionServices decrypt, IEncryptionServices encrypt, IEmailService emailService)
 {
     this._context      = context;
     this._decrypt      = decrypt;
     this._encrypt      = encrypt;
     this._emailService = emailService;
 }
        private PriceUpdateContext(string accessKey, string secretKey, string emailId, string emailIdPassword, string host, string displayName, List <string> tablesToInit)
        {
            this.aws_ACCESS_KEY = accessKey;
            this.aws_SECRET_KEY = secretKey;


            DynamoDBTracer.InitializeListener(this.aws_ACCESS_KEY, this.aws_SECRET_KEY);

            DynamoDBTracer.Tracer.Write("Initalizing Price update context");
            EmailManagerContext.Initialize(emailId, emailIdPassword, host, displayName);
            AmazonProductAPIContext.Initialize(this.aws_ACCESS_KEY, this.aws_SECRET_KEY);

            CatalogProviderFactoryArgs factoryArgs = new CatalogProviderFactoryArgs
            {
                DynamoDBClient = new AmazonDynamoDBClient(this.aws_ACCESS_KEY, this.aws_SECRET_KEY, Amazon.RegionEndpoint.USWest2)
            };

            this.catalogFactory = new CatalogProviderFactory(factoryArgs);

            this.catalogFactory.InitializeCatalogs(tablesToInit);
        }
 public LoggingServices(EmailManagerContext context)
 {
     _context = context;
 }
 public DecryptionServices(EmailManagerContext context)
 {
     this._context = context;
 }
Exemplo n.º 5
0
 public GmailAPIService(EmailManagerContext context, IEncryptionServices encrypt)
 {
     this._context = context;
     this._encrypt = encrypt;
 }
Exemplo n.º 6
0
 public EmailsController(EmailManagerContext context)
 {
     _context = context;
 }
 public EmailService(EmailManagerContext context, IDecryptionServices decrypt)
 {
     this._context = context ?? throw new ArgumentNullException(nameof(context));
     this._decrypt = decrypt;
 }
Exemplo n.º 8
0
 public UserServices(EmailManagerContext context, UserManager <User> userManager)
 {
     this._context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemplo n.º 9
0
 public CampaignsController(EmailManagerContext context)
 {
     _context = context;
 }