Fixing a type (hubConnetion -> hubConnection) (#23440)

This commit is contained in:
pagan-gerbil 2020-06-28 04:38:42 +01:00 committed by GitHub
parent efd62ce0b5
commit cc3d47f550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ namespace Microsoft.AspNetCore.SignalR.Client
/// </summary>
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;
currentHandler(parameters);