Example #1
0
        public Task <IValueProvider> BindAsync(ServiceBusEntity value, ValueBindingContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            IValueProvider provider = new MessageValueBinder(value, context.FunctionInstanceId);

            return(Task.FromResult(provider));
        }
        public Task <IValueProvider> BindAsync(ServiceBusEntity value, ValueBindingContext context)
        {
            IValueProvider provider = new MessageValueBinder(value, context.FunctionInstanceId);

            return(Task.FromResult(provider));
        }