Пример #1
0
        public void Log(object log)
        {
            var step = new RequestStep(requestTime(), log)
            {
                Activity = _activityStack.Peek()
            };

            _steps.Add(step);
        }
Пример #2
0
 public bool Equals(RequestStep other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.RequestTime.Equals(RequestTime) && Equals(other.Log, Log));
 }
Пример #3
0
        public void Log(object log)
        {
            var step = new RequestStep(requestTime(), log) {Activity = _activityStack.Peek()};

            _steps.Add(step);
        }
Пример #4
0
 public bool Equals(RequestStep other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.RequestTime.Equals(RequestTime) && Equals(other.Log, Log);
 }