public static IDisposable On <T1, T2, T3, T4, T5>(this SignalRChannel channel, string methodName, Action <T1, T2, T3, T4, T5> handler) { var connection = new NonNullable <HubConnection>(channel.Connection); connection.Value.On(methodName, handler); return(null); }
public static IDisposable On(this SignalRChannel channel, string methodName, Type[] parameterTypes, Func <object[], Task> handler) { var connection = new NonNullable <HubConnection>(channel.Connection); return(connection.Value.On(methodName, parameterTypes, handler)); }
public static IDisposable On(this SignalRChannel channel, string methodName, Action handler) { var connection = new NonNullable <HubConnection>(channel.Connection); return(connection.Value.On(methodName, handler)); }
internal SignalRChangedMessage(SignalRChannel channel) { ConnectionState = channel.ConnectionState; ConnectionAttempts = channel.ConnectionAttempts; }