Example #1
0
 public static void AddHandler(CEiffelCompiler compiler, IOutputHandler handler)
 {
     if (compiler != null && handler != null)
     {
         compiler.OutputError += new IEiffelCompilerEvents_OutputErrorEventHandler (handler.ProcessError);
         compiler.OutputString += new IEiffelCompilerEvents_OutputStringEventHandler (handler.ProcessOutput);
     }
 }
Example #2
0
 static public void AddHandler(CEiffelCompiler compiler, IOutputHandler handler)
 {
     if (compiler != null && handler != null)
     {
         compiler.OutputError  += new IEiffelCompilerEvents_OutputErrorEventHandler(handler.ProcessError);
         compiler.OutputString += new IEiffelCompilerEvents_OutputStringEventHandler(handler.ProcessOutput);
     }
 }