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