0

Why not working logging for chained methods, but if the same methods call via the saved instance, logging for ones work fine

Gist snippet

4

1 回答 1

0

我找到了一个解决方案,而不是每个方法都返回this但不是 Tranparet 代理类计算器所以需要更改计算器的this方法

return (Calculator)new StepProxy<Calculator>(this).GetTransparentProxy();

于 2019-02-20T13:05:50.237 回答