Example #1
0
 void BuildContainers(ConfigNode [] container_nodes)
 {
     foreach (var node in container_nodes)
     {
         var name             = node.GetValue("name");
         IStorageContainer sc = CreateContainer(name);
         if (sc == null)
         {
             continue;
         }
         sc.Load(node);
         containers.Add(sc);
     }
 }