简体   繁体   中英

c# refactoring - How is it done? CodeDom, EnvDTE, another way?

What method does VS use to manipulate the cs file when refactoring. Ie if you extract a method.

I am 100% sure (I hope) it is not T4, It could be EnvDTE or CodeDom but could not find out which one and was hoping someone knew. Thanks

使用代码段完成简单的重构:C:\\ Program Files \\ Microsoft Visual Studio 9.0 \\ VC#\\ Snippets \\ 1033 \\ Refactoring

I have found the Automation Object Model is what I was after:

"Automation Object Model - MSDN"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM