private bool onItems(CatalogServiceEvents.CatalogItemsByRecentRetrievedEvent evt)
 {
     RemoveListener();
     Service.Get <EventDispatcher>().DispatchEvent(new CatalogServiceProxyEvents.OnCatalogItemsByRecent(CacheId, evt));
     return(false);
 }
Example #2
0
 public OnCatalogItemsByRecent(string cacheId, CatalogServiceEvents.CatalogItemsByRecentRetrievedEvent request)
 {
     CacheId = cacheId;
     Request = request;
 }
 private void onCatalogItemsByRecentResponse(GetCatalogRecentOperation operation, HttpResponse response)
 {
     CatalogServiceEvents.CatalogItemsByRecentRetrievedEvent evt = new CatalogServiceEvents.CatalogItemsByRecentRetrievedEvent(operation.Response);
     Service.Get <EventDispatcher>().DispatchEvent(evt);
 }