3 ms·
This is brilliant and needs to be extracted into a library of its own. Thanks for surfacing this!
by m_fayer 9y ago
This is brilliant and needs to be extracted into a library of its own. Thanks for surfacing this!
- int_19h 9y agoI originally wrote this code back in 2011 with the intent to do just that (after some production use to prove the concept - which did happen; we've been shipping products that use this code since 2013)... but never found enough interest to actually motivate me to go and make it happen. Looking at the upvotes on this comment, I might reconsider :) Of course, if anyone wants to take this code and go for it, you're quite welcome. Note that it has been also licensed more permissively under MIT as part of RTVS - probably a better starting point for that: https://github.com/Microsoft/RTVS/tree/master/src/Common/Wpf/Impl/LambdaConverter https://github.com/Microsoft/RTVS/tree/master/src/Common/Wpf... https://github.com/Microsoft/RTVS/blob/master/src/Common/BuildTasks/ExtractLambdasFromXaml.cs https://github.com/Microsoft/RTVS/blob/master/src/Common/Bui...