public static void CreateAssembly(string outputDll, string inputDll, string prefix, ICollection testNames, bool noCompile) { using (GenTestDll instance = new GenTestDll(outputDll, inputDll, prefix, testNames, noCompile)) { instance.CreateAssemblyImpl(); } }
private void GenerateAssembly(ICollection exports) { GenTestDll.CreateAssembly(_output, _input, _prefix, exports, _noCompile); if (_noCompile) { Console.WriteLine("Wrote {0}.cs", _output); } else { Console.WriteLine("Wrote {0}", _output); WriteThunkDll(); } }