public async Task <ITriggerData> BindAsync(IStorageBlob value, ValueBindingContext context) { IValueProvider valueProvider = await _argumentBinding.BindAsync(value, context); IReadOnlyDictionary <string, object> bindingData = CreateBindingData(value); return(new TriggerData(valueProvider, bindingData)); }
public async Task <ITriggerData> BindAsync(object value, ValueBindingContext context) { ConversionResult <IStorageBlob> conversionResult = await _converter.TryConvertAsync(value, context.CancellationToken); if (!conversionResult.Succeeded) { throw new InvalidOperationException("Unable to convert trigger to IStorageBlob."); } Host.Bindings.IValueProvider valueProvider = await _argumentBinding.BindAsync(conversionResult.Result, context); IReadOnlyDictionary <string, object> bindingData = CreateBindingData(conversionResult.Result); return(new TriggerData(valueProvider, bindingData)); }
private Task <IValueProvider> BindAsync(ServiceBusEntity value, ValueBindingContext context) { return(_argumentBinding.BindAsync(value, context)); }
private Task <IValueProvider> BindBlobContainerAsync(IStorageBlobContainer value, ValueBindingContext context) { return(_argumentBinding.BindAsync(value, context)); }
private Task <IValueProvider> BindEntityAsync(TableEntityContext entityContext, ValueBindingContext context) { return(_argumentBinding.BindAsync(entityContext, context)); }
private Task <IValueProvider> BindQueueAsync(IStorageQueue value, ValueBindingContext context) { return(_argumentBinding.BindAsync(value, context)); }
private Task <IValueProvider> BindAsync(KafkaProducerEntity value, ValueBindingContext context) { return(argumentBinding.BindAsync(value, context)); }
private Task <IValueProvider> BindAsync(TBindingData bindingDataItem, ValueBindingContext context) { return(_argumentBinding.BindAsync(bindingDataItem, context)); }