Esempio n. 1
0
        public static VisitInfo FromVisit(Visit visit)
        {
            var info = new VisitInfo();

            info.SetValuesFromObject(visit);
            return(info);
        }
Esempio n. 2
0
        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);
        }