public CommandLineParser(IList<IDeobfuscatorInfo> deobfuscatorInfos, FilesDeobfuscator.Options filesOptions) { this.deobfuscatorInfos = deobfuscatorInfos; this.filesOptions = filesOptions; this.filesOptions.DeobfuscatorInfos = deobfuscatorInfos; this.filesOptions.AssemblyClientFactory = new NewAppDomainAssemblyClientFactory(); addAllOptions(); }
static void parseCommandLine(string[] args, FilesDeobfuscator.Options options) { new CommandLineParser(deobfuscatorInfos, options).parse(args); Log.vv("Args:"); Log.indent(); foreach (var arg in args) Log.vv("{0}", Utils.toCsharpString(arg)); Log.deIndent(); }
static void ParseCommandLine(string[] args, FilesDeobfuscator.Options options) { new CommandLineParser(deobfuscatorInfos, options).Parse(args); Logger.vv("Args:"); Logger.Instance.Indent(); foreach (var arg in args) Logger.vv("{0}", Utils.ToCsharpString(arg)); Logger.Instance.DeIndent(); }