public Task <IValueProvider> BindAsync(BindingContext context) { string boundTableName = _path.Bind(context.BindingData); IStorageTable table = _client.GetTableReference(boundTableName); return(BindTableAsync(table, context.ValueContext)); }
public Task <IValueProvider> BindAsync(BindingContext context) { if (context == null) { throw new ArgumentNullException("context"); } string boundTableName = _path.Bind(context.BindingData); IStorageTable table = _client.GetTableReference(boundTableName); return(BindTableAsync(table, context.ValueContext)); }
public IStorageTable Convert(string input) { string tableName; // For convenience, treat an an empty string as a request for the default value (when valid). if (String.IsNullOrEmpty(input) && _defaultPath.IsBound) { tableName = _defaultPath.Bind(null); } else { tableName = BoundTablePath.Validate(input); } return(_client.GetTableReference(tableName)); }