|
// <auto-generated>
// Generated by Microsoft.AspNetCore.Client.SourceGenerator
// </auto-generated>
#nullable enable
using Microsoft.AspNetCore.SignalR.Client;
namespace Microsoft.AspNetCore.SignalR.Client.Tests
{
internal static partial class RegisterCallbackProviderExtensions
{
private static System.IDisposable[] RegisterMicrosoftAspNetCoreSignalRClientTestsHubClientProxyGeneratorTestsIMyClient(HubConnection connection, Microsoft.AspNetCore.SignalR.Client.Tests.HubClientProxyGeneratorTests.IMyClient provider)
{
var registrations = new System.IDisposable[4];
registrations[0] = connection.On("NoArg", () => provider.NoArg());
registrations[1] = connection.On<int>("SingleArg", (a) => provider.SingleArg(a));
registrations[2] = connection.On<int, float, int?>("ManyArgs", (a, b, c) => provider.ManyArgs(a, b, c));
registrations[3] = connection.On("ReturnTask", () => provider.ReturnTask());
return registrations;
}
}
}
|