/// <summary> /// Cascade the event from the vsa site to external listeners. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void CodeComProvider_CompilerErrorEvent(object sender, CompilerErrorEventArgs e) { // // Invoke the delegates // if (CompilerErrorEvent != null) { CompilerErrorEvent(this, e); } }
/// <summary> /// Cascade the event from the vsa site to external listeners. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void _VsaSite_CompilerErrorEvent(object sender, CompilerErrorEventArgs e) { // // Invoke the delegates // if (CompilerErrorEvent != null) { CompilerErrorEvent(this, e); } }
public bool OnCompilerError(Microsoft.Vsa.IVsaError error) { CompilerErrorEventArgs e = new CompilerErrorEventArgs(error); // // Invoke the delegates // if (CompilerErrorEvent != null) { CompilerErrorEvent(this, e); } // Returns TRUE if the compiler is directed to continue reporting further errors // to the IVsaSite object. // Returns FALSE if the compiler is directed to stop reporting further errors // to the IVsaSite object. bool continueErrorReports = false; return(continueErrorReports); }
public bool OnCompilerError(Microsoft.Vsa.IVsaError error) { CompilerErrorEventArgs e = new CompilerErrorEventArgs(error); // // Invoke the delegates // if (CompilerErrorEvent != null) CompilerErrorEvent(this, e); // Returns TRUE if the compiler is directed to continue reporting further errors // to the IVsaSite object. // Returns FALSE if the compiler is directed to stop reporting further errors // to the IVsaSite object. bool continueErrorReports = false; return continueErrorReports; }
/// <summary> /// Cascade the event from the vsa site to external listeners. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void _VsaSite_CompilerErrorEvent(object sender, CompilerErrorEventArgs e) { // // Invoke the delegates // if (CompilerErrorEvent != null) CompilerErrorEvent(this, e); }
private void scriptHostCompilerErrorEvent(object sender, CompilerErrorEventArgs e) { System.Console.WriteLine(e.LineText); System.String message = System.String.Format("Error on line {0}:\t{1}\n", e.Line, e.Description); System.Console.WriteLine(message); }
private void script_host_CompilerErrorEvent(object sender, CompilerErrorEventArgs e) { this._RichTextBoxActivityLoggingAppendText (e.LineText); this._RichTextBoxActivityLoggingAppendText ( string.Format("Error on line {0}:\t{1}\n", e.Line, e.Description)); this.RichTextBoxActivityLogging.ScrollToCaret(); }