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