예제 #1
0
 private void ValidateSignalRAttributeBinding(SignalRAttribute attribute, Type type)
 {
     ValidateConnectionString(
         attribute.ConnectionStringSetting,
         $"{nameof(SignalRAttribute)}.{nameof(SignalRAttribute.ConnectionStringSetting)}");
 }
 public SignalRMessageAsyncCollector(SignalRConfiguration config, SignalRAttribute attr)
 {
     _signalR = new AzureSignalR(attr.ConnectionStringSetting);
     _hubName = attr.HubName;
 }