public static string Render(CompiledHandlebars.CompilerTests.TestViewModels.IDerived viewModel) { var sb = new StringBuilder(64); if (IsTruthy(viewModel) && IsTruthy(viewModel.AnotherList)) { foreach (var loopItem0 in viewModel.AnotherList) { sb.Append(WebUtility.HtmlEncode(loopItem0)); } } return sb.ToString(); }
public static string Render(CompiledHandlebars.CompilerTests.TestViewModels.IDerived viewModel) { var sb = new StringBuilder(64); sb.Append(WebUtility.HtmlEncode(viewModel.AnotherInt.ToString())); return sb.ToString(); }