Code Refactor - Include Namespace in existing files

  • Thread starter Thread starter Augustin Prasanna
  • Start date Start date
A

Augustin Prasanna

Is there any simpler way to add 'Namespace' to existing classes? I have
around 6000+ classes for which i need to add 'namespace'.

Regards,
Augustin
 
Is there any simpler way to add 'Namespace' to existing classes? I have
around 6000+ classes for which i need to add 'namespace'.

Regards,
Augustin

oh god....6000+ class ?????!!!!!!!
Perhaps you can write a consol application... to loop through every
directory and the append the cs file with required namespace...
 
But the problem is, how will i locate the exact location where i need to
insert the 'namespace'? The signatures might not be same. Some might have
attributes etc..
 
Just before the start of the class and just after the end of the class?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top