private bool onItems(CatalogServiceEvents.CatalogItemsByFriendsRetrievedEvent evt) { RemoveListener(); Service.Get <EventDispatcher>().DispatchEvent(new CatalogServiceProxyEvents.OnCatalogItemsByFriend(CacheId, evt)); return(false); }
public OnCatalogItemsByFriend(string cacheId, CatalogServiceEvents.CatalogItemsByFriendsRetrievedEvent request) { CacheId = cacheId; Request = request; }
private void onCatalogItemsByFriendsResponse(GetCatalogFriendsOperation operation, HttpResponse response) { CatalogServiceEvents.CatalogItemsByFriendsRetrievedEvent evt = new CatalogServiceEvents.CatalogItemsByFriendsRetrievedEvent(operation.Response); Service.Get <EventDispatcher>().DispatchEvent(evt); }