Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Why not working logging for chained methods, but if the same methods call via the saved instance, logging for ones work fine
Gist snippet
我找到了一个解决方案,而不是每个方法都返回this但不是 Tranparet 代理类计算器所以需要更改计算器的this方法
this
return (Calculator)new StepProxy<Calculator>(this).GetTransparentProxy();