Пример #1
0
 public Function()
 {
     _queueReader = new SongQueueReader();
     _queueWriter = new SongQueueWriter();
     _library     = new LibraryWriter();
     _songs       = new SongReader();
 }
Пример #2
0
        public SongQueueWriter()
        {
            var config = new AmazonDynamoDBConfig {
                ServiceURL = "https://dynamodb.eu-west-1.amazonaws.com"
            };

            _db    = new AmazonDynamoDBClient(config);
            _queue = new SongQueueReader();
        }