3 instantiations of ObjectMethodExecutor
Microsoft.AspNetCore.SignalR.Core (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (3)
107return new ObjectMethodExecutor(methodInfo, targetTypeInfo, null); 116return new ObjectMethodExecutor(methodInfo, targetTypeInfo, parameterDefaultValues); 129return new ObjectMethodExecutor(methodInfo, targetTypeInfo, isTrimAotCompatible: true);
19 references to ObjectMethodExecutor
Microsoft.AspNetCore.SignalR.Core (19)
HubInvocationContext.cs (2)
14internal ObjectMethodExecutor ObjectMethodExecutor { get; } = default!; 33internal HubInvocationContext(ObjectMethodExecutor objectMethodExecutor, HubCallerContext context, IServiceProvider serviceProvider, Hub hub, object?[] hubMethodArguments)
Internal\DefaultHubDispatcher.cs (9)
321var methodExecutor = descriptor.MethodExecutor; 386ObjectMethodExecutor methodExecutor, 606private ValueTask<object?> ExecuteHubMethod(ObjectMethodExecutor methodExecutor, THub hub, object?[] arguments, HubConnectionContext connection, IServiceProvider serviceProvider) 624var methodExecutor = methodDescriptor.MethodExecutor; 628private static async ValueTask<object?> ExecuteMethod(ObjectMethodExecutor methodExecutor, Hub hub, object?[] arguments) 796var executor = IsCustomAwaitableSupported 798: ObjectMethodExecutor.CreateTrimAotCompatible(methodInfo, hubTypeInfo); 810private static ObjectMethodExecutor CreateObjectMethodExecutor(MethodInfo methodInfo, TypeInfo targetType) 811=> ObjectMethodExecutor.Create(methodInfo, targetType);
Internal\DefaultHubDispatcherLog.cs (2)
26public static void StreamingResult(ILogger logger, string invocationId, ObjectMethodExecutor objectMethodExecutor) 38public static void SendingResult(ILogger logger, string? invocationId, ObjectMethodExecutor objectMethodExecutor)
Internal\HubMethodDescriptor.cs (2)
33public HubMethodDescriptor(ObjectMethodExecutor methodExecutor, IServiceProviderIsService? serviceProviderIsService, IEnumerable<IAuthorizeData> policies) 163public ObjectMethodExecutor MethodExecutor { get; }
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (3)
105public static ObjectMethodExecutor Create(MethodInfo methodInfo, TypeInfo targetTypeInfo) 112public static ObjectMethodExecutor Create(MethodInfo methodInfo, TypeInfo targetTypeInfo, object?[] parameterDefaultValues) 127public static ObjectMethodExecutor CreateTrimAotCompatible(MethodInfo methodInfo, TypeInfo targetTypeInfo)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (1)
12/// Provides a common awaitable structure that <see cref="ObjectMethodExecutor.ExecuteAsync"/> can