摘要: 这篇博客是借助一个自己写的工程来理解model binder的过程.MVC通过路由系统,根据url找到对应的Action,然后再执行action,在执行action的时候,根据action的参数和数据来源比对,生成各个参数的值,这就是model binder.IActionInvokerMVC中这个核心处理逻辑都在ControllerActionInvoker里,用reflector看,能看能到这个类继承了IActionInvoker接口1 public interface IActionInvoker2 {3 bool InvokeAction(Control... 阅读全文
posted @ 2013-11-12 22:21 牛角挂书i 阅读(1066) 评论(2) 推荐(1) 编辑