예제 #1
0
        public ActionResult About()
        {
            ViewBag.Message  = "Risultato di chiamate a dll:  ";
            ViewBag.Message += ReflectionProvider.getInstance().callMetodoByName("ClassLibrary1", "Class1", "prova");
            ViewBag.Message += ReflectionProvider.getInstance().callMetodoByName("ClassLibrary2", "Class2", "prova");

            return(View());
        }
예제 #2
0
 public ActionResult Index()
 {
     ViewBag.Message  = "Risultato di chiamate a dll:  ";
     ViewBag.Message += ReflectionProvider.getInstance().callMetodoByName("ClassLibrary1", "Class1", "prova");
     ViewBag.Message += ReflectionProvider.getInstance().callMetodoByName("ClassLibrary2", "Class1", "prova");
     return(View());
     //return Redirect("default.htm");
 }