<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.1" />

System.ServiceModel.Dispatcher.TaskMethodInvoker

namespace System.ServiceModel.Dispatcher { public class TaskMethodInvoker : IOperationInvoker { public MethodInfo Method { get; } public string MethodName { get; } public TaskMethodInvoker(MethodInfo taskMethod, Type taskType); public object[] AllocateInputs(); public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state); public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result); } }