On a giving solution in C# (Visual Studio), I need to detect classes that follows some template and extract that template for later code generation.
In other words, I need to compare 2 classes (files) and extract a common template from them. This template will be used for a later code-generation, when the programmer will have to write less code.
Is there any body who can give me an idea on how to do this ?
One more question, is there possible to get the syntactic/semantic tree made by Visual Studio ?
Tnx