refactoring - Tool for 'Flattening' (simplifying) C# Source -
refactoring - Tool for 'Flattening' (simplifying) C# Source - i need provide re-create of source code 3rd party, given it's nifty extensible framework repurposed, i'd rather provide less oo version (a 'procedural' version want of improve term) allow minor tweaks values etc not reimplementation using total flexibility of how structured. the code makes utilize of usual stuff: classes, constructors, etc. there tool or method 'simplifying' still 'source' using plain variables etc. for example, if had class instance 'myclass' initialised this.blah in constructor, same done variable called myclass_blah manipulated in more 'flat' way. realise things polymorphism not possible in such situation. perhaps obfuscator, set 'super mild' setting accomplish it? thanks my experience nifty extensible frameworks has been shops have own nifty extensible frameworks (usually more one) , not steal them vendor-provide...