jeudi 22 octobre 2015

="" for generic parameters?

I've been looking into ways to mitigate the performance pains of using reflection's .GetValue() and .SetValue() methods. I've discovered some really awesome ways to do it using expression trees, but came upon this answer to a question here:

http://ift.tt/1OLpr3J

It contains a link to this page:

http://ift.tt/1XngGhu

To view the source code, you have to scroll down and click the very inconspicuous expand link below the The code of the helper header. In looking at the code, you will see things like this:

Func<tobject ,="" tvalue="">

What is =""? No matter what I do, I cannot get any variation of this syntax to work. The answer has 6 votes, so I can only assume it's deserving of them.





Aucun commentaire:

Enregistrer un commentaire