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; }
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); }