public Task <IValueProvider> BindAsync(RedisEntity value, ValueBindingContext context)
            {
                if (context == null)
                {
                    throw new ArgumentNullException("context");
                }

                IValueProvider provider = new RedisValueBinder <TInput>(value);

                return(Task.FromResult(provider));
            }
コード例 #2
0
 private Task <IValueProvider> BindAsync(RedisEntity value, ValueBindingContext context)
 {
     return(_argumentBinding.BindAsync(value, context));
 }
コード例 #3
0
 public RedisValueBinder(RedisEntity entity)
     : base(BindStepOrder.Enqueue)
 {
     _entity = entity;
 }
コード例 #4
0
 private Task<IValueProvider> BindAsync(RedisEntity value, ValueBindingContext context)
 {
     return _argumentBinding.BindAsync(value, context);
 }