Exemplo n.º 1
0
        private void LogGeneratedCode(SimpleCSharpCompiler simpleCSharpCompiler, CodeCompileUnit compileUnit)
        {
            Log(Level.Verbose, simpleCSharpCompiler.GetSourceCode(compileUnit));
            Type compiledType = compiledAssembly.GetType(typeName);

            Log(Level.Verbose, "Created type " + compiledType + " in " + compiledAssembly.Location);
        }
Exemplo n.º 2
0
        private void LogGeneratedCode(SimpleCSharpCompiler simpleCSharpCompiler, CodeCompileUnit compileUnit)
        {
            Log(Level.Verbose, simpleCSharpCompiler.GetSourceCode(compileUnit));

            var compiledType = _compiledAssembly.GetType(_typeName);

            Log(Level.Verbose, "Created type {0} in {1}", compiledType, _compiledAssembly.Location);
        }
Exemplo n.º 3
0
 private void LogGeneratedCode(SimpleCSharpCompiler simpleCSharpCompiler, CodeCompileUnit compileUnit)
 {
     Log(Level.Debug, simpleCSharpCompiler.GetSourceCode(compileUnit));
     Type compiledType = compiledAssembly.GetType(typeName);
     Log(Level.Debug, "Created type " + compiledType + " in " + compiledAssembly.Location);
 }