Unlimited Technique          Unlimited Wisdom

1001010000101001000010010001000010000101101110111 1101010010010101011110010101110101011010101010101

导航

2005年8月17日 #

Two Level Proxy to Implement StaticProxy

摘要: Using CodeDom to make the StaticProxy, but the CodeDom technology only generates source code. Moveover, source code(c#, vb.net) can only intercept member method. If wanting to intercept constructor, s... 阅读全文

posted @ 2005-08-17 10:03 bughole 阅读(329) 评论(0) 推荐(0) 编辑

2005年8月15日 #

Checking CallingClass type (waiting resolving)

摘要: CallingClass is the type of a class containing the method or property. When its value is not “any”, the match method of the CallingClass must be following code:public bool Match(Type type)... 阅读全文

posted @ 2005-08-15 15:25 bughole 阅读(206) 评论(0) 推荐(0) 编辑

2005年8月9日 #

Codedom and Static Proxy - Codedom is my lover

摘要: There are two kinds of AOP: Dynamic and Static. Now Future.AOP get AOP information by reading xml file. Everytime, when executing methods, Future.AOP need to search the mapping objects of all xml file... 阅读全文

posted @ 2005-08-09 14:58 bughole 阅读(277) 评论(0) 推荐(0) 编辑

2005年8月4日 #

Intercepting Exception Errors

摘要: I studied the “jbossaop_userguide” in the morning. Finding a AOP feature about intercepting Exception Errors. I think that my AOP framework should have the same feature. I spent about thre... 阅读全文

posted @ 2005-08-04 15:52 bughole 阅读(363) 评论(0) 推荐(0) 编辑

2005年7月30日 #

Watching the Aspect File

摘要: When loading aspect xml file in the Load event of Form and wrapping the corresponding classes, then invoking the method of the classes in others place, if the application can’t reload the xml fi... 阅读全文

posted @ 2005-07-30 21:40 bughole 阅读(261) 评论(0) 推荐(0) 编辑

2005年7月28日 #

Two bugs are destroyed.(the one is correlative with hashcode)

摘要: Today I destroyed two bugs. 1、 When generating the Call method of NestedType, a loading argument error happens.The method has only an argument: Object[] A_1; The IL of pushing the argument to evaluati... 阅读全文

posted @ 2005-07-28 22:33 bughole 阅读(284) 评论(0) 推荐(0) 编辑

Future.AOP 一个基于Dynamic Proxy的AOP framework

摘要: 我设计的一个AOP framework for .net – Future.AOP,它的原理是基于Dynamic Proxy和Reflection Emit API技术,采用C#编写,现在已经完成一个最初的0.1版本,请大家测试。 具体说明,请看http://bughole.cnblogs.com/articles/202012.htmlDemo请在http://www.cnblogs... 阅读全文

posted @ 2005-07-28 15:31 bughole 阅读(743) 评论(0) 推荐(0) 编辑

2005年7月26日 #

Shallow Clone and Deep Clone

摘要: abstract:describe the difference both Shallow Clone and Deep Clone. To read, please click on reading 阅读全文

posted @ 2005-07-26 10:25 bughole 阅读(851) 评论(1) 推荐(0) 编辑

2005年7月18日 #

How to convert a type specified to a object type in IL.

摘要: There are two kinds of type in the IL: value type and non-value type. It can bejudged from the IsValueType property of a object type. e.g. typeof(String).IsValueType.ValueType includes Int(16, 32, 63)... 阅读全文

posted @ 2005-07-18 11:29 bughole 阅读(276) 评论(0) 推荐(0) 编辑

How to deal with the ‘void’ in IL

摘要: If there is a method returning a object type, it invokes a method returning null. Then the ‘ldnull’ instruction should be added after the invoking instruction.The description is demonstrat... 阅读全文

posted @ 2005-07-18 09:55 bughole 阅读(240) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示