Пример #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[]