Ejemplo n.º 1
0
 /// <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));
 }
Ejemplo n.º 2
0
        /// <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;
        }
Ejemplo n.º 3
0
 /// <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));
 }
Ejemplo n.º 4
0
 /// <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));
 }