Пример #1
0
 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();
     }
 }
Пример #2
0
 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();
     }
 }