internal static StringBuilder Append(this StringBuilder stringBuilder, Variables variables, IQueryType[] queryTypes, Fragments fragments) { stringBuilder.Append <Variables>(variables); stringBuilder.Append <IQueryType>(queryTypes); stringBuilder.Append(Signals.BraceClose); if (fragments != null) { fragments.ForEach(x => { stringBuilder.Append <IQueryType>(new IQueryType[1] { x.QueryType }); }); } return(stringBuilder); }