/// <summary> /// Binds one or more static inputs using implicit lambda syntax. /// </summary> /// <param name="template">The target template.</param> /// <param name="definitions">The lambdas or other methods that define the static inputs. The parameter names must match input labels.</param> /// <returns></returns> public static FluTePrototype BindStatic(this FluTePrototype template, params Func <string, object>[] definitions) { foreach (var definition in definitions) { var name = definition.Method.GetParameters().First().Name; var localDef = definition; template = template.BindStatic(name, () => localDef(name)); } return(template); }
public TemplateFinallyClause(FluTePrototype next) { innerNext = next; }
public TokenForClause(FluTePrototype template, string token) { inner = template; this.token = token; }