in src/Microsoft.Azure.WebJobs.Extensions.Dapr/Bindings/DaprInvokeMethodAsyncCollector.cs [28:47]
public Task AddAsync(InvokeMethodParameters item, CancellationToken cancellationToken = default)
{
if (item.AppId == null)
{
item.AppId = this.attr.AppId ?? throw new ArgumentException("A non-null app ID must be specified.");
}
if (item.MethodName == null)
{
item.MethodName = this.attr.MethodName ?? throw new ArgumentException("A non-null method name must be specified.");
}
if (item.HttpVerb == null)
{
item.HttpVerb = this.attr.HttpVerb ?? throw new ArgumentException("A non-null method verb must be specified.");
}
this.requests.Enqueue(item);
return Task.CompletedTask;
}