Esempio n. 1
0
    public static string Render(CompiledHandlebars.CompilerTests.TestViewModels.StarModel viewModel)
    {
      var sb = new StringBuilder(64);
      if (IsTruthy(viewModel) && IsTruthy(viewModel.Planets))
      {
        foreach (var loopItem0 in viewModel.Planets)
        {
          sb.Append(BasicPartialTest1.Render(loopItem0.Name));
        }
      }

      return sb.ToString();
    }
 public static string Render(CompiledHandlebars.CompilerTests.TestViewModels.MarsModel viewModel)
 {
   var sb = new StringBuilder(64);
   sb.Append(BasicPartialTest1.Render(viewModel.Name));
   return sb.ToString();
 }
 public static string Render(System.String viewModel)
 {
   var sb = new StringBuilder(64);
   sb.Append(BasicPartialTest1.Render(viewModel));
   return sb.ToString();
 }