You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Introduced `SignalRMethodName` property in `MethodMetadata.cs` to retrieve method names from `HubMethodNameAttribute`.
- Modified `HubConnectionExtensionsBinderTemplate.cs` and `MethodMetadataExtensions.cs` to utilize the new `SignalRMethodName` for correct method registration and invocation.
- Added `TypedSignalR.Client.SourceGeneratorTests` project to the solution to unit test the source generator.
public {{method.ReturnType}}{{method.MethodName}}({{method.CreateParametersString()}})
300
300
{
301
-
var ret = _connection.StreamAsyncCore{{method.CreateGenericReturnTypeArgumentStringForStreaming()}}(nameof({{method.MethodName}}), {{method.CreateArgumentsStringExceptCancellationToken(specialSymbols)}}, {{method.CreateCancellationTokenString("_cancellationToken",specialSymbols)}});
301
+
var ret = _connection.StreamAsyncCore{{method.CreateGenericReturnTypeArgumentStringForStreaming()}}("{{method.SignalRMethodName}}", {{method.CreateArgumentsStringExceptCancellationToken(specialSymbols)}}, {{method.CreateCancellationTokenString("_cancellationToken",specialSymbols)}});
0 commit comments