开发者

.net method attributes

I need to call some code before calling methods that decorated by Attribute [MyTracedMethod] and after.

Can i d开发者_如何学JAVAo this by .net Method Atributes?


You will need an AOP Framework for this, like PostSharp.

See 'getting started' for a simple example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜