Exemple #1
0
        static void showOptions(TemplateCompiler compiler)
        {
            const string NONE = "<none>";

            Console.WriteLine();
            ConsoleUtils.Info("Compiler type: " + compiler.GetType().FullName);
            ConsoleUtils.Info("Assembly file: " + compiler.AssemblyFileName ?? NONE);
            ConsoleUtils.Info("Base template type name: " + compiler.BaseTypeName ?? NONE);
            ConsoleUtils.Info("Compile code: " + compiler.CompileCode ?? NONE);
            ConsoleUtils.Info("Language name: " + compiler.LanguageName ?? NONE);
            ConsoleUtils.Info("Namespace: " + compiler.Namespace ?? NONE);
            foreach (var asm in compiler.ReferencedAssemblies)
            {
                ConsoleUtils.Info("Referenced assembly: " + asm);
            }
            ConsoleUtils.Info("Ref assembly search path: " + compiler.ReferencedAssembliesSearchPath ?? NONE);
        }
Exemple #2
0
 static void showOptions(TemplateCompiler compiler)
 {
     const string NONE = "<none>";
                              Console.WriteLine();
                              ConsoleUtils.Info("Compiler type: "+compiler.GetType().FullName);
                              ConsoleUtils.Info("Assembly file: "+compiler.AssemblyFileName ?? NONE);
                              ConsoleUtils.Info("Base template type name: "+compiler.BaseTypeName ?? NONE);
                              ConsoleUtils.Info("Compile code: "+compiler.CompileCode ?? NONE);
                              ConsoleUtils.Info("Language name: "+compiler.LanguageName ?? NONE);
                              ConsoleUtils.Info("Namespace: "+compiler.Namespace ?? NONE);
                              foreach(var asm in compiler.ReferencedAssemblies)
                                ConsoleUtils.Info("Referenced assembly: "+asm);
                              ConsoleUtils.Info("Ref assembly search path: "+compiler.ReferencedAssembliesSearchPath ?? NONE );
 }