예제 #1
0
 public EventSubscriptionService(
     SignalROptions options,
     ISignals signals,
     EventsHub eventsHub)
 {
     this.options   = options;
     this.signals   = signals;
     this.eventsHub = eventsHub;
     this.logger    = LogManager.GetCurrentClassLogger();
 }
예제 #2
0
 public EventSubscriptionService(
     SignalROptions options,
     ILoggerFactory loggerFactory,
     ISignals signals,
     EventsHub eventsHub)
 {
     this.options   = options;
     this.signals   = signals;
     this.eventsHub = eventsHub;
     this.logger    = loggerFactory.CreateLogger <SignalRFeature>();
 }
        public static void ConfigureSignalRForCirrus(SignalROptions options)
        {
            options.EventsToHandle = EventsToHandle;

            options.ClientEventBroadcasters = new[]