private void SearchEngineOnFilesLoaded(object sender, FilesLoadedResult args) { _typedEventSender.SendEventAsync(new SearchEngineFilesLoaded { OperationId = args.OperationInfo.OperationId, Error = ErrorResponseHelper.CreateErrorResponse(args.Error) }); }
protected virtual void OnFilesLoaded(FilesLoadedResult e) { EventHandler <FilesLoadedResult> handler = FilesLoaded; if (handler != null) { handler(this, e); } }
protected virtual void OnFilesLoaded(FilesLoadedResult e) { FilesLoaded?.Invoke(this, e); }