如何使用 PostSharp 修改方法参数?
我需要使用传递到我的方法中的参数来做一些事情。我如何使用 PostSharp 来玩(修改)它们?
I need to do some stuff with parameteres passed into my method. How can I play with them (modify) using PostSharp ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 methodinterception,您可以使用 Args.Arguments 对象通过 SetArgument 方法更改值。
Using methodinterception, you can use the Args.Arguments object to change the values via the SetArgument method.