예제 #1
0
        public AspRequestInstance Merge(AspRequestInstance other)
        {
            if (other.RecvReq != default(DateTime))
                RecvReq = other.RecvReq;

            if (other.Start != default(DateTime))
                Start = other.Start;

            if (other.StartHandler != default(DateTime))
                StartHandler = other.StartHandler;

            if (other.HttpHandlerEnter != default(DateTime))
                HttpHandlerEnter = other.HttpHandlerEnter;

            if (other.HttpHanlerLeave != default(DateTime))
                HttpHanlerLeave = other.HttpHanlerLeave;

            if (other.EndHandler != default(DateTime))
                EndHandler = other.EndHandler;

            if (other.End != default(DateTime))
                End = other.End;

            return this;
        }
예제 #2
0
        public AspRequestInstance Merge(AspRequestInstance other)
        {
            if (other.RecvReq != default(DateTime))
            {
                RecvReq = other.RecvReq;
            }

            if (other.Start != default(DateTime))
            {
                Start = other.Start;
            }

            if (other.StartHandler != default(DateTime))
            {
                StartHandler = other.StartHandler;
            }

            if (other.HttpHandlerEnter != default(DateTime))
            {
                HttpHandlerEnter = other.HttpHandlerEnter;
            }

            if (other.HttpHanlerLeave != default(DateTime))
            {
                HttpHanlerLeave = other.HttpHanlerLeave;
            }

            if (other.EndHandler != default(DateTime))
            {
                EndHandler = other.EndHandler;
            }

            if (other.End != default(DateTime))
            {
                End = other.End;
            }

            return(this);
        }