Exemplo n.º 1
0
        public void DumpDictionaryList(DictionaryListResultObject result)
        {
            lock (_lock)
            {
                using (var jsonWriter = CreateJsonWriter())
                {
                    jsonWriter.WriteStartElement("root", string.Empty);
                    jsonWriter.WriteAttributeString("type", "object");
                    jsonWriter.WriteElementString("$type", _dictionaryListResultTypeName);

                    jsonWriter.WriteStartElement("i");
                    jsonWriter.WriteAttributeString("type", "array");

                    foreach (var item in result.Items)
                    {
                        WriteDictionary(jsonWriter, item);
                    }

                    jsonWriter.WriteEndElement();
                    jsonWriter.WriteEndElement();
                }

                DumpNewLine();
            }
        }
Exemplo n.º 2
0
 public void DumpDictionaryList(DictionaryListResultObject result)
 {
     throw new NotImplementedException();
 }