protected override void RegisterTakeNotificationEvent() { ProxyHub.On <PublicationProgressEventArgs>(nameof(IKLPublicationRepository.RefreshPublicationProgress), message => { if (ConnectionHub != null) { EventSignalR?.PublishOnBackgroundThread(message); } }); }
protected override void RegisterTakeNotificationEvent() { ProxyHub.On <AnalyzeEventArgs>(nameof(IKLAnalyzeRepository.RefreshProcess), message => { var mess = new AnalyzeEventArgs(string.Empty); if (message != null && ConnectionHub != null) { mess = message; } EventSignalR?.PublishOnBackgroundThread(mess); }); }