private void HandleValidationMessage(object sender, ValidationMessageEventArgs e) { BismNormalizerPackage.ValidationOutput.ShowStatusMessage( ComparisonEditorPane.Window.Handle.ToInt32(), ComparisonEditorPane.Name, e.Message, e.ValidationMessageType, e.ValidationMessageStatus); }
public void HandleValidationMessage(object sender, ValidationMessageEventArgs e) { validationOutput.ShowStatusMessage( 0, "ALM Toolkit Comparison", e.Message, e.ValidationMessageType, e.ValidationMessageStatus); }
static void publisher_NewMessage(object sender, ValidationMessageEventArgs e) { var msg = e.Message; if (!FancyConsole.WriteVerboseOutput && !msg.IsError && !msg.IsWarning) { return; } WriteValidationError("", msg); }
/// <summary> /// Invokes the ValidationMessage event. /// </summary> /// <param name="e">ValidationMessageEventArgs object.</param> public virtual void OnValidationMessage(ValidationMessageEventArgs e) => ValidationMessage?.Invoke(this, e);
private static void HandleValidationMessage(object sender, ValidationMessageEventArgs e) { Debug.WriteLine(e.Message); }
private static void HandleValidationMessage(object sender, ValidationMessageEventArgs e) { Console.WriteLine($"{e.ValidationMessageStatus.ToString()} Message for {e.ValidationMessageType.ToString()}: {e.Message}"); }