1 write to OriginalParameterTypes
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubMethodDescriptor.cs (1)
141OriginalParameterTypes = methodExecutor.MethodParameters.Select(p => p.ParameterType).ToArray();
7 references to OriginalParameterTypes
Microsoft.AspNetCore.SignalR.Core (7)
Internal\DefaultHubDispatcher.cs (7)
723arguments = new object?[descriptor.OriginalParameterTypes!.Count]; 731descriptor.OriginalParameterTypes[parameterPointer].IsAssignableFrom(hubMethodInvocationMessage.Arguments[hubInvocationArgumentPointer]?.GetType()))) 739if (descriptor.OriginalParameterTypes[parameterPointer] == typeof(CancellationToken)) 746arguments[parameterPointer] = descriptor.GetService(scope.ServiceProvider, parameterPointer, descriptor.OriginalParameterTypes[parameterPointer]); 748else if (isStreamCall && ReflectionHelper.IsStreamingType(descriptor.OriginalParameterTypes[parameterPointer], mustBeDirectType: true)) 753itemType, descriptor.OriginalParameterTypes[parameterPointer]); 760Debug.Assert(false, $"Failed to bind argument of type '{descriptor.OriginalParameterTypes[parameterPointer].Name}' for hub method '{descriptor.MethodExecutor.MethodInfo.Name}'.");