Phill Duffy
Phill Duffy

Reputation: 2866

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

What method does VS use to manipulate the cs file when refactoring. I.e 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

Upvotes: 1

Views: 607

Answers (2)

Phill Duffy
Phill Duffy

Reputation: 2866

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

"Automation Object Model - MSDN"

Upvotes: 0

Dutch Nico
Dutch Nico

Reputation: 270

Simple refactoring is done with snippets: C:\Program Files\Microsoft Visual Studio 9.0\VC#\Snippets\1033\Refactoring

Upvotes: 1

Related Questions