Exemplo n.º 1
0
 /// <summary>
 /// Call method CommandDeployDbIntegrate(); on external AppCli.
 /// </summary>
 public static void CommandDeployDbIntegrate(AppCli appCli, DeployDbIntegrateResult result)
 {
     foreach (var type in appCli.AssemblyApplicationCli.GetTypes())
     {
         if (UtilFramework.IsSubclassOf(type, typeof(AppCli)))
         {
             if (type != appCli.GetType())
             {
                 var appCliExternal = (AppCli)Activator.CreateInstance(type);
                 appCliExternal.CommandDeployDbIntegrate(result);
             }
         }
     }
 }