Пример #1
0
 public override void ExitMethod(ExitMethodMessage EMM)
 {
     Output.WriteLine("{0}{1} <{2}",
                      EMM.UTCTime.ToString("dd-MM-yyyy") + " " + EMM.UTCTime.ToLongTimeString(),
                      GetIndentString(1),
                      EMM.MethodName);
 }
Пример #2
0
 /// <summary>
 /// Exits the method.
 /// </summary>
 /// <param name="EMM">The emm.</param>
 public override void ExitMethod(ExitMethodMessage EMM)
 {
     IndentNumber -= 2;
     OutputStream.WriteLine("{0}{1} <{2}",
                            EMM.UTCTime.ToString("dd-MM-yyyy") + " " + EMM.UTCTime.ToLongTimeString(),
                            GetIndentString(IndentNumber),
                            EMM.MethodName);
     WriteMessage = true;
 }
Пример #3
0
        /*
         *  Summary:
         *      It provides for the possibility of displaying attachments.
         */
        public void ExitMethod(int MethodOffSet)
        {
            ExitMethodMessage EMM = new ExitMethodMessage();

            EMM._MethodOffset = MethodOffSet + 2;
            EMM.InitializeNewMessage();
            foreach (Destination d in listDestination)
            {
                d.ExitMethod(EMM);
            }
        }
Пример #4
0
 public void ExitMethod(int MethodOffSet)
 {
     try
     {
         ExitMethodMessage EMM = new ExitMethodMessage();
         EMM._MethodOffset = MethodOffSet + 2;
         EMM.InitializeNewMessage();
         foreach (Destination d in _Destins)
         {
             d.ExitMethod(EMM);
         }
     }
     finally
     {
         lock (typeof(LogFactory))
         {
             LogFactory.Indent -= 1;
         }
     }
 }
Пример #5
0
 public override void ExitMethod(ExitMethodMessage EMM)
 {
     Console.WriteLine("LOG: " + GetIndentString(2) + "<" + EMM.MethodName);
 }
Пример #6
0
 /// <summary>
 /// Exits the method.
 /// </summary>
 /// <param name="EMM">The emm.</param>
 public abstract void ExitMethod(ExitMethodMessage EMM);
Пример #7
0
 /// <summary>
 /// Exits the method.
 /// </summary>
 /// <param name="EMM">The emm.</param>
 public override void ExitMethod(ExitMethodMessage EMM)
 {
     Console.WriteLine("LOG: " + GetSingleIndentString(IndentNumber) + "<" + EMM.MethodName);
     IndentNumber -= 2;
 }