Ejemplo n.º 1
0
 private static void AddToChildren(IConfigSet configSet, ConfigurationContext context, IEnvironment environment)
 {
     foreach (var childConfigSet in configSet.ChildConfigSets)
     {
         var c     = childConfigSet;
         var child = environment.CreateChild(context, ref c);
         context.SaveChanges();
         AddToChildren(c, context, child);
     }
 }
Ejemplo n.º 2
0
 private static void AddToChildren(IConfigSet configSet, ConfigurationContext context, IEnvironment environment)
 {
     foreach (var childConfigSet in configSet.ChildConfigSets)
     {
         var c = childConfigSet;
         var child = environment.CreateChild(context, ref c);
         context.SaveChanges();
         AddToChildren(c, context, child);
     }
 }