Exemple #1
0
        public void IncrementCollection(string name, int size, string docId)
        {
            CollectionDetails value;

            if (_collections.TryGetValue(name, out value) == false)
            {
                _collections[name] = value = new CollectionDetails();
            }
            value.Update(size, docId);
        }
Exemple #2
0
 public DebugDocumentStats()
 {
     _collections = new Dictionary <string, CollectionDetails>(StringComparer.OrdinalIgnoreCase);
     System       = new CollectionDetails();
     NoCollection = new CollectionDetails();
 }