public static VisitInfo FromVisit(Visit visit) { var info = new VisitInfo(); info.SetValuesFromObject(visit); return(info); }
public static RequestInfo FromVisit(Request request) { var info = new RequestInfo(); info.SetValuesFromObject(request); info.EndVisit = request.EndVisit; info.Visit = VisitInfo.FromVisit(request.Visit); info.Visitor = VisitorInfo.FromVisitor(request.Visit.Visitor); return(info); }