Ejemplo n.º 1
0
        public void Log(object log)
        {
            var step = new RequestStep(requestTime(), log)
            {
                Activity = _activityStack.Peek()
            };

            _steps.Add(step);
        }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
        public void Log(object log)
        {
            var step = new RequestStep(requestTime(), log) {Activity = _activityStack.Peek()};

            _steps.Add(step);
        }
Ejemplo n.º 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);
 }