public Function() { var client = new AmazonDynamoDBClient(); this.dynamoDBRepository = new DynamoDBRepository(new DynamoDBContext(client)); this.dynamoDBService = new DynamoDBService(this.dynamoDBRepository); }
/// <summary> /// The parameter 'containerService' is injected, see Startup.cs /// </summary> /// <param name="containerService"></param> public ContainerController(IConfiguration configuration, IContainerService containerService, ISnsService snsService, IDynamoDBService dynamoDBService, ICloudWatchService cloudWatchService) { _queueFlushingIntervalInMinutes = int.Parse(configuration.GetSection("QueueFlushing").GetSection("IntervalInMinutes").Value); _containerService = containerService; _snsService = snsService; _dynamoDBService = dynamoDBService; _cloudWatchService = cloudWatchService; }
/// <summary> /// /// </summary> /// <param name="service"></param> /// <param name="logger"></param> public DynamoDBController( IDynamoDBService service, ILogger <TestController> logger, IStringLocalizer <TestController> localizer) { this.service = service; this.logger = logger; this.localizer = localizer; }
public DynamoDBController(IDynamoDBService dynamoDBService) { _dynamoDBService = dynamoDBService; }
public Function(IDynamoDBService service) { this.dynamoDBService = service; }
/// <summary> /// The parameter 'dynamoDBService' is injected, see Startup.cs /// </summary> /// <param name="dynamoDBService"></param> public AuthController(IDynamoDBService dynamoDBService, ILogger <AuthController> logger) { _dynamoDBService = dynamoDBService; _logger = logger; }
public HistoryController(IS3Service s3Service, IDynamoDBService dynamoDBService) { _s3Service = s3Service; _dynamoDBService = dynamoDBService; }
public DashboardController(IHubContext <TopicsHub> hub, IDynamoDBService dynamoDBService) { _hub = hub; _dynamoDBService = dynamoDBService; }