public NotificationHub(IHubConnectionCache cache) { Cache = cache; Log.Current.Message("Notification hub created"); }
public SignalRNotificationManager(IHubConnectionCache cache, IHubContext <NotificationHub> hubContext) { _cache = cache; _hubContext = hubContext; Log.Current.Message($"Initialize push notification manager cache: {_cache != null}"); }