摘要:[DRAFT] Ease API Designing with .NET Interception Technology
There will be another series of articles discussing solving real problem (during our R&D process) with .NET's interception technology (specifically, RealProxy/TransparentProxy for intercepting method invocation for mocking API implementation).
With technology discussed in this installation, you will be assisted a lot during API designing phases, eliminating thousands lines of codes in effect to achieve the same runtime behavior (not counting performance) and that allowing you to incrementally implement your library.
Phase O: Initiative/Goals
1. get bored writing tedious fields, property getters n' setters, etc?
class X{
private int _a;
public int A
{
get { return _a;......[
阅读全文]