Esempio n. 1
0
 public UserProfileDB(string userId, MoycaLogger logger) : base(UserProfileDB.TableName, UserProfileDB.PrimaryPartitionKey, logger)
 {
     this.UserID             = userId;
     this.log                = logger;
     this.Schedule           = MIN_SCHEDULE_INDEX;
     this.teachMode          = MODE.Assess;
     this.scopeAndSequenceDB = new ScopeAndSequenceDB(logger);
 }
Esempio n. 2
0
        public async Task FunctionHandler(DynamoDBEvent dynamoEvent, ILambdaContext context)
        {
            LOGGER.log       = MoycaLogger.GetLogger(context, LogLevel.TRACE);
            scopeAndSequence = new ScopeAndSequenceDB(LOGGER.log);
            dictionary       = new DictionaryDB(LOGGER.log);
            int i;

            for (i = 1057; i < 1058; i++)
            {
                await GetAndSetWords(i);
            }
            LOGGER.log.INFO("Function", "Words in range: " + totalWords);
        }