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); } }
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); } }