예제 #1
0
 public void Save(TrieWriter writer, string directory)
 {
     foreach (var node in _nodes.Values)
     {
         node.SaveI(writer, directory);
     }
 }
예제 #2
0
 private void SaveI(TrieWriter writer, string directory)
 {
     writer.Put(this, directory);
     if (_nodes == null)
     {
         return;
     }
     foreach (var node in _nodes.Values)
     {
         node.SaveI(writer, directory);
     }
 }