public IPresentation Presentate(IVisit visit)
 {
     return new VisitPresentation
                {
                    //OnlineImageUrl = _onlineImageProvider.GetOnlineImageUrl(visit.User.UserName),
                    DisplayName = visit.User1.GetDisplayName(),
                    ProfileUrl = visit.User1.GetProfileUrl(),
                    VisitDate = visit.Created.ToFormattedString()
                };
 }
Exemple #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context"></param>
 public VisitLogic(IVisit context)
 {
     _context = context;
 }
Exemple #3
0
 void IElement.Visit(IVisit visitor)
 {
     visitor.onButton(this);
 }
Exemple #4
0
 public void Visit(IVisit visitor)
 {
     visitor.onLabel(this);
 }