干货EMIT千行代码实现代理式AOP加属性的自动装配V2.0 [Dry goods][EMIT] thousand lines of code to achieve automatic assembly of proxy AOP+ attributes V2.0
Emit实现AOP示例 纯手工打造Emit实现AOPprivatestaticvoidOverrideMethods(TypeBuildertb,MethodInfomethod){if(!method.IsPublic||!method.IsVirtual||IsObjectMethod(method))return;T
不用正则60行代码搞定高效Url重写 private void context_BeginRequest(object sender, EventArgs e) { HttpApplication app = sender as HttpApplication; if (app == null) return; string curre