Antaris.AspNetCore.Mvc.Widgets.Infrastructure.DefaultWidgetInvoker.GetArgumentsAsync C# (CSharp) Метод

GetArgumentsAsync() приватный Метод

Gets the arguments for the target method.
The argument binder will provide a mixed-result of values from the provided dictionary, and those from model binding.
private GetArgumentsAsync ( WidgetContext context, MethodInfo method, RouteValueDictionary values ) : Task
context WidgetContext The widget context.
method System.Reflection.MethodInfo The target method.
values RouteValueDictionary The set of provided values.
Результат Task
        private async Task<object[]> GetArgumentsAsync(WidgetContext context, MethodInfo method, RouteValueDictionary values)
        {
            var arguments = await _argumentBinder.BindArgumentsAsync(context, method, values);
            return arguments.Values.ToArray();
        }
    }