private void onSubmitItemError(ItemSubmissionOperation operation, HttpResponse response) { CatalogServiceEvents.ItemSubmissionErrorEvent evt = new CatalogServiceEvents.ItemSubmissionErrorEvent(response); Service.Get <EventDispatcher>().DispatchEvent(evt); }
private void onSubmitItemResponse(ItemSubmissionOperation operation, HttpResponse response) { CatalogServiceEvents.ItemSubmissionCompleteEvent evt = new CatalogServiceEvents.ItemSubmissionCompleteEvent(operation.Response); Service.Get <EventDispatcher>().DispatchEvent(evt); handleCPResponse(operation.Response); }