3 instantiations of ObjectMethodExecutor
Microsoft.AspNetCore.Shared.Tests (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);
35 references to ObjectMethodExecutor
Microsoft.AspNetCore.Shared.Tests (35)
ObjectMethodExecutorTest.cs (31)
24var executor = GetExecutorForMethod("ValueMethod"); 35var executor = GetExecutorForMethod("VoidValueMethod"); 46var executor = GetExecutorForMethod("ValueMethodWithReturnType"); 58var executor = GetExecutorForMethod("ValueMethodUpdateValue"); 71var executor = GetExecutorForMethod("ValueMethodWithReturnTypeThrowsException"); 83var executor = GetExecutorForMethod("ValueMethodAsync"); 94var executor = GetExecutorForMethod("ValueMethodWithReturnTypeAsync"); 106var executor = GetExecutorForMethod("ValueMethodUpdateValueAsync"); 119var executor = GetExecutorForMethod("ValueMethodWithReturnTypeThrowsExceptionAsync"); 136var executor = GetExecutorForMethod(method); 149var executor = GetExecutorForMethod("MethodWithMultipleParameters", suppliedDefaultValues); 158var executor = GetExecutorForMethod("MethodWithMultipleParameters"); 166var executor = GetExecutorForMethod("CustomAwaitableOfReferenceTypeAsync"); 182var executor = GetExecutorForMethod("CustomAwaitableOfValueTypeAsync"); 197var executor = GetExecutorForMethod("CustomAwaitableOfReferenceTypeAsync"); 214var executor = GetExecutorForMethod("CustomAwaitableOfValueTypeAsync"); 236var executor = GetExecutorForMethod(method); 251var executor = GetExecutorForMethod("CustomAwaitableWithICriticalNotifyCompletion"); 266var executor = GetExecutorForMethod("CustomAwaitableWithoutICriticalNotifyCompletion"); 281var executor = GetExecutorForMethod("ValueTaskOfValueType"); 296var executor = GetExecutorForMethod("ValueTaskOfReferenceType"); 311var executor = GetExecutorForMethod("ValueTaskOfValueType"); 327var executor = GetExecutorForMethod("ValueTaskOfReferenceType"); 342var executor = GetExecutorForMethod("FSharpAsyncMethod"); 360var executor = GetExecutorForMethod("FSharpAsyncFailureMethod"); 381var executor = GetExecutorForMethod("FSharpAsyncMethod"); 396var executor = GetExecutorForMethod("FSharpAsyncFailureMethod"); 410private ObjectMethodExecutor GetExecutorForMethod(string methodName) 413return ObjectMethodExecutor.Create(method, targetTypeInfo); 416private ObjectMethodExecutor GetExecutorForMethod(string methodName, object[] parameterDefaultValues) 419return ObjectMethodExecutor.Create(method, targetTypeInfo, parameterDefaultValues);
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