예제 #1
0
 private void ProcessChunkBody(CompletionTracker completion, IZPushItem item, ChunkIndex index)
 {
     // Process the body
     foreach (var entry in JSONUtils.Deserialise(item.Body))
     {
         string id = entry.Key;
         Dictionary <string, object> value = (Dictionary <string, object>)entry.Value;
         Tasks.Task(completion, _feature, "CreateItem", () => CreateObject(index, id, value));
     }
 }