// <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 HubServerProxyExtensions
{
public static partial T GetHubServer<T>(this HubConnection conn)
{
if (typeof(T) == typeof(Microsoft.AspNetCore.SignalR.Client.Tests.HubServerProxyGeneratorTests.IMyHub))
{
return (T) (Microsoft.AspNetCore.SignalR.Client.Tests.HubServerProxyGeneratorTests.IMyHub) new Microsoft.AspNetCore.SignalR.Client.Tests.HubServerProxyExtensions.GeneratedIMyHub(conn);
}
throw new System.ArgumentException(nameof(T));
}
}
} |