Improving performance reflection - what alternatives should I consider?

前端 未结 6 1812
攒了一身酷
攒了一身酷 2020-12-01 05:29

I need to dynamically set values on a bunch or properties on an object, call it a transmission object.

There will be a fair number of these transmission objects that

6条回答
  •  难免孤独
    2020-12-01 06:27

    You can use lightweight code generation. Here are some articles:

    • http://blogs.msdn.com/joelpob/archive/2004/04/01/105862.aspx
    • http://wesnerm.blogs.com/net_undocumented/2005/06/lightweight_cod.html (mirror)
    • Dyanamic Method

提交回复
热议问题