public static FluTeInstance Bind(this IBindInputConfiguration config, params Func <string, object>[] inputLambdas) { foreach (var lambda in inputLambdas) { var name = lambda.Method.GetParameters().First().Name; var localLambda = lambda; config = config.Bind(name, localLambda(name)); } return((FluTeInstance)config); }
public BindToConfigurator(IBindInputConfiguration innerConfig, string input) { this.innerConfig = innerConfig; this.input = input; }
public static IBindToConfigurator Bind(this IBindInputConfiguration config, string name) { return(new BindToConfigurator(config, name)); }