示例#1
0
 public static ClickCollection GetClicksForListingTypeByListingTypeGuid(Guid listingTypeGuid)
 {
     SP.ClickSvc.Click[] clicks = _clickClient.GetClicksForListingTypeByListingTypeGuid(listingTypeGuid);
     ClickCollection result = new ClickCollection();
     foreach (SP.ClickSvc.Click click
         in clicks)
     {
         ClickViewModel viewModel = new ClickViewModel(click.ClickGuid, click.FacilityGuid, click.ListingTypeGuid, click.TimeStamp);
         result.Add(viewModel);
     }
     return result;
 }