コード例 #1
0
 public GlobalSecondaryIndexes(List <IndexDefinition> definitions)
 {
     indexes = new ConcurrentSortedDictionary <string, GlobalSecondaryIndex>();
     foreach (var indexDefinition in definitions)
     {
         indexes.TryAdd(indexDefinition.Name, new GlobalSecondaryIndex(indexDefinition));
     }
 }
コード例 #2
0
 public Partition(string hashKey)
 {
     data    = new ConcurrentSortedDictionary <string, JToken>();
     HashKey = hashKey;
 }