public GlobalSecondaryIndexes(List <IndexDefinition> definitions) { indexes = new ConcurrentSortedDictionary <string, GlobalSecondaryIndex>(); foreach (var indexDefinition in definitions) { indexes.TryAdd(indexDefinition.Name, new GlobalSecondaryIndex(indexDefinition)); } }
public Partition(string hashKey) { data = new ConcurrentSortedDictionary <string, JToken>(); HashKey = hashKey; }