Ejemplo n.º 1
0
 private static void EstablishGlobalDefaults(RenderSettings settings)
 {
     EstablishGlobalNamespaceDefaults(settings);
     EstablishGlobalViewModelDefaults(settings);
 }
Ejemplo n.º 2
0
 private static void ConfigureViewModels(string entityNamespace, NamespaceSettings ns, RenderSettings settings)
 {
     foreach (var vmEntry in ns.viewModels)
     {
         var entityType = vmEntry.Key;
         var vm         = vmEntry.Value;
         AssertViewModelSettingsValid(entityType, ns.mapToNamespace, vm);
         ConfigureViewModelSettings(vm, ns, settings, entityType, entityNamespace);
     }
 }