示例#1
0
 public SubscriptionHandler(
     IHubConnectionProvider provider,
     IRegistrationDescriptionFactory registrationDescriptionFactory,
     ILogger <SubscriptionHandler> logger)
 {
     _registrationDescriptionFactory = registrationDescriptionFactory;
     _logger    = logger;
     _hubClient = provider.Get();
 }
 protected Sender(IHubConnectionProvider provider)
 {
     HubClient = provider.Get();
 }