static IEnumerable <string> FormatHeaderTableArgs(Step Step, IEnumerable <string> Row) { var Args = Step.ArgDefinitions.Skip(Step.Args.Count).ToArray(); return(Row.Select((Value, i) => ArgFormatter.Format(Value, Args[i].ParameterType))); }
static string FormatArgForObjectInitializer(string Value, Type ObjectArg, string FieldName) { return(string.Format ( FieldInitializerTemplate, FieldName, ArgFormatter.Format(Value, ObjectArg.FieldType(FieldName)) )); }
static IEnumerable <string> FormatTableArgs(Step Step, IEnumerable <string> Row) { return(Row.Select(Arg => ArgFormatter.Format(Arg, Step.TableItemType()))); }