/// <summary> /// Pushes development info to DebugInformationQueue /// </summary> /// <param name="aTitle"> /// Title to be displayed <see cref="System.String"/> /// </param> /// <param name="aText"> /// Text of displayed message <see cref="System.String"/> /// </param> /// <param name="aObject"> /// Object to be passed with message <see cref="System.Object"/> /// </param> /// <remarks> /// This message is only valid for DEBUG mode compiled assembly /// </remarks> public static void DevelInfo(string aTitle, string aText, object aObject) { if (DevelopmentInfo == false) { return; } DebugInformationQueue.Push(new DebugNotification(DebugNotificationType.DevelInfo, aTitle, aText, aObject)); }
/// <summary> /// Forces pushing error to DebugInformationQueue /// </summary> /// <param name="aTitle"> /// Title to be displayed <see cref="System.String"/> /// </param> /// <param name="aText"> /// Text of displayed message <see cref="System.String"/> /// </param> /// <param name="aObject"> /// Object to be passed with message <see cref="System.Object"/> /// </param> public static void ForceError(string aTitle, string aText, object aObject) { bool debugState = Debug.Active; Active = true; DebugInformationQueue.Push(new DebugNotification(DebugNotificationType.Error, aTitle, aText, aObject)); Active = debugState; }
/// <summary> /// Pushes critical to DebugInformationQueue /// </summary> /// <param name="aTitle"> /// Title to be displayed <see cref="System.String"/> /// </param> /// <param name="aText"> /// Text of displayed message <see cref="System.String"/> /// </param> /// <param name="aObject"> /// Object to be passed with message <see cref="System.Object"/> /// </param> public static void Critical(string aTitle, string aText, object aObject) { DebugInformationQueue.Push(new DebugNotification(DebugNotificationType.Critical, aTitle, aText, aObject)); }
/// <summary> /// Pushes suggestion to DebugInformationQueue /// </summary> /// <param name="aTitle"> /// Title to be displayed <see cref="System.String"/> /// </param> /// <param name="aText"> /// Text of displayed message <see cref="System.String"/> /// </param> /// <param name="aObject"> /// Object to be passed with message <see cref="System.Object"/> /// </param> public static void Suggestion(string aTitle, string aText, object aObject) { DebugInformationQueue.Push(new DebugNotification(DebugNotificationType.Suggestion, aTitle, aText, aObject)); }