Fixing a type (hubConnetion -> hubConnection) (#23440)
This commit is contained in:
parent
efd62ce0b5
commit
cc3d47f550
|
|
@ -11,9 +11,9 @@ namespace Microsoft.AspNetCore.SignalR.Client
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static partial class HubConnectionExtensions
|
public static partial class HubConnectionExtensions
|
||||||
{
|
{
|
||||||
private static IDisposable On(this HubConnection hubConnetion, string methodName, Type[] parameterTypes, Action<object[]> handler)
|
private static IDisposable On(this HubConnection hubConnection, string methodName, Type[] parameterTypes, Action<object[]> handler)
|
||||||
{
|
{
|
||||||
return hubConnetion.On(methodName, parameterTypes, (parameters, state) =>
|
return hubConnection.On(methodName, parameterTypes, (parameters, state) =>
|
||||||
{
|
{
|
||||||
var currentHandler = (Action<object[]>)state;
|
var currentHandler = (Action<object[]>)state;
|
||||||
currentHandler(parameters);
|
currentHandler(parameters);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue