Пример #1
0
            public override object Visit(MethodLeaveEvent methodEvent)
            {
                methodBase += methodEvent.Method;
                TimeBase   += methodEvent.TimeDiff;

                if (ShouldLog)
                {
                    if (!nameDictionary.ContainsKey(methodBase))
                    {
                        nameDictionary [methodBase] = "[Unknown method]";
                    }
                    currentThread.PopMethod(methodBase, TimeBase);
                }
                return(null);
            }
Пример #2
0
		public virtual object Visit (MethodLeaveEvent methodLeaveEvent)
		{
			return null;
		}
Пример #3
0
			public override object Visit (MethodLeaveEvent methodEvent)
			{
				methodBase += methodEvent.Method;
				TimeBase += methodEvent.TimeDiff;
				
				if (ShouldLog) {
					if (!nameDictionary.ContainsKey (methodBase))
						nameDictionary [methodBase] = "[Unknown method]";
					currentThread.PopMethod (methodBase, TimeBase);
				}
				return null;
			}
Пример #4
0
 public virtual object Visit(MethodLeaveEvent methodLeaveEvent)
 {
     return(null);
 }