public static IEnumerable <ColumnBinding> AsBindings(this ITuple targets) { if (targets == null) { throw new ArgumentNullException(nameof(targets)); } return(targets.Select(t => new ColumnBinding(t))); }
public IReadOnlyList <IParameter> Add(ITuple tuple) => tuple.Select(this.Add).ToList();
public IList <IParameter> Add(ITuple tuple) => tuple?.Select(this.Add).ToList() ?? throw new ArgumentNullException(nameof(tuple));