3 references to IStringMethodClient
Microsoft.AspNetCore.SignalR.Tests (3)
Internal\TypedClientBuilderTests.cs (3)
167
var ex = Assert.Throws<InvalidOperationException>(() => TypedClientBuilder<
IStringMethodClient
>.Build(clientProxy));
168
Assert.Equal($"Cannot generate proxy implementation for '{typeof(
IStringMethodClient
).FullName}.{nameof(
IStringMethodClient
.Method)}'. All client proxy methods must return '{typeof(Task).FullName}' or '{typeof(Task).FullName}<T>'.", ex.Message);