public Renamer(IDeobfuscatorContext deobfuscatorContext, IEnumerable<IObfuscatedFile> files, RenamerFlags flags) { RenamerFlags = flags; modules = new Modules(deobfuscatorContext); isDelegateClass = new DerivedFrom(delegateClasses); mergeStateHelper = new MergeStateHelper(memberInfos); foreach (var file in files) modules.add(new Module(file)); }
public Renamer(IEnumerable<IObfuscatedFile> files) { RenameNamespaces = true; RenameTypes = true; RenameProperties = true; RenameEvents = true; RenameFields = true; RenameMethods = true; RenameMethodArgs = true; RenameGenericParams = true; RestoreProperties = true; RestorePropertiesFromNames = true; RestoreEvents = true; RestoreEventsFromNames = true; isDelegateClass = new DerivedFrom(delegateClasses); mergeStateHelper = new MergeStateHelper(memberInfos); foreach (var file in files) modules.add(new Module(file)); }