2 instantiations of ObjectMethodExecutor
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
79return new ObjectMethodExecutor(methodInfo, targetTypeInfo, null); 86return new ObjectMethodExecutor(methodInfo, targetTypeInfo, parameterDefaultValues);
34 references to ObjectMethodExecutor
Microsoft.AspNetCore.Shared.Tests (34)
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 (2)
77public static ObjectMethodExecutor Create(MethodInfo methodInfo, TypeInfo targetTypeInfo) 82public static ObjectMethodExecutor Create(MethodInfo methodInfo, TypeInfo targetTypeInfo, object?[] parameterDefaultValues)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (1)
12/// Provides a common awaitable structure that <see cref="ObjectMethodExecutor.ExecuteAsync"/> can