You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mille Boström edited this page Jun 23, 2017
·
1 revision
Example
Example of saving code:
varsaver=newCodeSaver();// As a stringvargeneratedCode=saver.SaveCodeAsString(@class);// Or to filesaver.SaveCodeToFile(@class,@"/path/HelloWorld.cs");
Customize formatting with options
It's possible to customize the formatting before saving by using the option list. A short example where we change OneTrueBrace style to K&R style: