Banner Desktop

Social responsibility and community involvement

Error compiling template "/Designs/Wizaris/Grid/Pages/RowTemplates/1-2SplitRow.cshtml"
Line 129: 'GridColumnViewModel.ParagraphId' is obsolete: 'Please use Paragraph instead'
Line 129: 'Services' is an ambiguous reference between 'Dynamicweb.Content.Services' and 'Dynamicweb.Services'
Line 129: 'GridColumnViewModel.ParagraphId' is obsolete: 'Please use Paragraph instead'
Line 163: 'GridColumnViewModel.ParagraphId' is obsolete: 'Please use Paragraph instead'
Line 208: 'GridColumnViewModel.ParagraphId' is obsolete: 'Please use Paragraph instead'
Line 217: 'GridColumnViewModel.ParagraphId' is obsolete: 'Please use Paragraph instead'
Line 226: 'GridColumnViewModel.ParagraphId' is obsolete: 'Please use Paragraph instead'
Line 235: 'GridColumnViewModel.ParagraphId' is obsolete: 'Please use Paragraph instead'

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 14 #line 70 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 15 using System.Collections.Generic; 16 17 #line default 18 #line hidden 19 20 #line 2052 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 21 using System.Linq; 22 23 #line default 24 #line hidden 25 26 #line 8 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 27 using Dynamicweb.Frontend; 28 29 #line default 30 #line hidden 31 32 #line 9 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 33 using Dynamicweb.Content; 34 35 #line default 36 #line hidden 37 38 #line 10 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 39 using Dynamicweb.Content.Items; 40 41 #line default 42 #line hidden 43 44 #line 11 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 45 using Dynamicweb; 46 47 #line default 48 #line hidden 49 50 #line 69 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 51 using System.Text.RegularExpressions; 52 53 #line default 54 #line hidden 55 56 #line 1784 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 57 using System.Reflection; 58 59 #line default 60 #line hidden 61 62 #line 72 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 63 using System.Web; 64 65 #line default 66 #line hidden 67 68 #line 73 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 69 using System.Web.UI.HtmlControls; 70 71 #line default 72 #line hidden 73 74 #line 2033 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 75 using Dynamicweb.Rapido.Blocks.Components; 76 77 #line default 78 #line hidden 79 80 #line 75 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 81 using Dynamicweb.Rapido.Blocks.Components.Articles; 82 83 #line default 84 #line hidden 85 86 #line 76 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 87 using Dynamicweb.Rapido.Blocks.Components.Documentation; 88 89 #line default 90 #line hidden 91 92 #line 669 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 93 using Dynamicweb.Rapido.Blocks; 94 95 #line default 96 #line hidden 97 98 #line 2053 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 99 using Dynamicweb.Rapido.Blocks.Components.General; 100 101 #line default 102 #line hidden 103 104 #line 227 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 105 using System.IO; 106 107 #line default 108 #line hidden 109 110 #line 2034 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 111 using Dynamicweb.Core; 112 113 #line default 114 #line hidden 115 116 117 public class RazorEngine_e1cea9d599df41ae8cde990076b4839b : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.GridRowViewModel> { 118 119 #line hidden 120 121 #line 13 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 122 public RazorEngine.Templating.TemplateWriter RenderColumn(GridColumnViewModel column) { 123 #line default 124 #line hidden 125 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 126 127 #line 13 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 128 129 Paragraph paragraph = column.ParagraphId > 0 ? Services.Paragraphs.GetParagraph(column.ParagraphId) : null; 130 var colorService = new ColorSwatchService(); 131 132 //All paragraph settings may come from e.g. column.Item.GetITem("Common").GetItem("BackgroundColor") instead 133 134 if (paragraph != null) { 135 if (paragraph.Item != null) { 136 string backgroundColor = paragraph.Item["BackgroundColor"] != null ? paragraph.Item["BackgroundColor"].ToString() : ""; 137 string customCSSClass = paragraph.Item["Custom_Class"] != null ? paragraph.Item["Custom_Class"].ToString() : ""; 138 backgroundColor = !backgroundColor.Contains("#") ? colorService.GetHexColor(Pageview.AreaID, backgroundColor) : backgroundColor; 139 string textColor = paragraph.Item["TextColor"] != null ? paragraph.Item["TextColor"].ToString() : ""; 140 textColor = !textColor.Contains("#") ? colorService.GetHexColor(Pageview.AreaID, textColor) : textColor; 141 string styles = "background-color: " + backgroundColor + "; color: " + textColor; 142 143 string horizontalAlign = paragraph.Item["HorizontalAlignment"] != null ? "u-align-" + paragraph.Item["HorizontalAlignment"].ToString().ToLower() : ""; 144 string horizontalAlignContent = paragraph.Item["HorizontalAlignmentContent"] != null ? "u-align-content-" + paragraph.Item["HorizontalAlignmentContent"].ToString().ToLower() : ""; 145 string verticalAlign = paragraph.Item["VerticalAlignment"] != null ? "u-align-self-" + paragraph.Item["VerticalAlignment"].ToString().ToLower() : ""; 146 string alignmentCssClasses = horizontalAlign + " " + horizontalAlignContent + " " + verticalAlign; 147 148 string itemBodyCssClass = paragraph.Item["MoveBodyInside"] != null ? "u-full-width" : "content-row__item__body"; 149 itemBodyCssClass += paragraph.Item["MoveBodyInside"] == null && paragraph.Item["Padding"] != null ? " padding-size-" + paragraph.Item["Padding"].ToString().ToLower() : ""; 150 itemBodyCssClass += paragraph.Item["MoveBodyInside"] == null && paragraph.Item["PaddingPosition"] != null ? " padding-position-" + paragraph.Item["PaddingPosition"].ToString().ToLower() : ""; 151 152 153 154 #line default 155 #line hidden 156 WriteLiteralTo(__razor_helper_writer, " <div"); 157 158 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 2679), Tuple.Create("\"", 2768) 159 , Tuple.Create(Tuple.Create("", 2687), Tuple.Create("content-row__item", 2687), true) 160 , Tuple.Create(Tuple.Create(" ", 2704), Tuple.Create("rowItemContent-", 2705), true) 161 162 #line 37 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 163 , Tuple.Create(Tuple.Create("", 2720), Tuple.Create<System.Object, System.Int32>(column.ParagraphId 164 165 #line default 166 #line hidden 167 , 2720), false) 168 , Tuple.Create(Tuple.Create(" ", 2739), Tuple.Create("h-100", 2740), true) 169 , Tuple.Create(Tuple.Create(" ", 2745), Tuple.Create("dw-mod", 2746), true) 170 171 #line 37 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 172 , Tuple.Create(Tuple.Create(" ", 2752), Tuple.Create<System.Object, System.Int32>(customCSSClass 173 174 #line default 175 #line hidden 176 , 2753), false) 177 ); 178 179 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 2769), Tuple.Create("\"", 2784) 180 181 #line 37 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 182 , Tuple.Create(Tuple.Create("", 2777), Tuple.Create<System.Object, System.Int32>(styles 183 184 #line default 185 #line hidden 186 , 2777), false) 187 ); 188 189 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 190 191 192 #line 38 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 193 194 195 #line default 196 #line hidden 197 198 #line 38 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 199 if (!string.IsNullOrEmpty(textColor)) { 200 201 202 #line default 203 #line hidden 204 WriteLiteralTo(__razor_helper_writer, " <style>\r\n .rowItemContent-"); 205 206 207 #line 40 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 208 WriteTo(__razor_helper_writer, column.ParagraphId); 209 210 211 #line default 212 #line hidden 213 WriteLiteralTo(__razor_helper_writer, " p, .rowItemContent-"); 214 215 216 #line 40 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 217 WriteTo(__razor_helper_writer, column.ParagraphId); 218 219 220 #line default 221 #line hidden 222 WriteLiteralTo(__razor_helper_writer, " h1, .rowItemContent-"); 223 224 225 #line 40 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 226 WriteTo(__razor_helper_writer, column.ParagraphId); 227 228 229 #line default 230 #line hidden 231 WriteLiteralTo(__razor_helper_writer, " h2, .rowItemContent-"); 232 233 234 #line 40 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 235 WriteTo(__razor_helper_writer, column.ParagraphId); 236 237 238 #line default 239 #line hidden 240 WriteLiteralTo(__razor_helper_writer, " h3 {\r\n color: "); 241 242 243 #line 41 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 244 WriteTo(__razor_helper_writer, textColor); 245 246 247 #line default 248 #line hidden 249 WriteLiteralTo(__razor_helper_writer, ";\r\n }\r\n </style>\r\n"); 250 251 252 #line 44 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 253 } 254 255 256 #line default 257 #line hidden 258 WriteLiteralTo(__razor_helper_writer, " <div"); 259 260 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 3206), Tuple.Create("\"", 3275) 261 262 #line 45 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 263 , Tuple.Create(Tuple.Create("", 3214), Tuple.Create<System.Object, System.Int32>(itemBodyCssClass 264 265 #line default 266 #line hidden 267 , 3214), false) 268 269 #line 45 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 270 , Tuple.Create(Tuple.Create(" ", 3231), Tuple.Create<System.Object, System.Int32>(alignmentCssClasses 271 272 #line default 273 #line hidden 274 , 3232), false) 275 , Tuple.Create(Tuple.Create(" ", 3252), Tuple.Create("dw-mod", 3253), true) 276 , Tuple.Create(Tuple.Create(" ", 3259), Tuple.Create("h-100", 3260), true) 277 , Tuple.Create(Tuple.Create(" ", 3265), Tuple.Create("flex-wrap", 3266), true) 278 ); 279 280 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 281 282 WriteLiteralTo(__razor_helper_writer, " "); 283 284 285 #line 46 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 286 WriteTo(__razor_helper_writer, column.Output()); 287 288 289 #line default 290 #line hidden 291 WriteLiteralTo(__razor_helper_writer, " \r\n </div>\r\n </div> \r\n"); 292 293 294 #line 49 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 295 } else { 296 297 } 298 } else { 299 300 301 #line default 302 #line hidden 303 304 #line 53 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 305 WriteTo(__razor_helper_writer, RenderPlaceholderForTheContentBuilder(column)); 306 307 308 #line default 309 #line hidden 310 311 #line 53 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 312 313 } 314 315 316 #line default 317 #line hidden 318 }); 319 320 #line 55 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 321 } 322 #line default 323 #line hidden 324 325 326 #line 57 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 327 public RazorEngine.Templating.TemplateWriter RenderPlaceholderForTheContentBuilder(GridColumnViewModel column) { 328 #line default 329 #line hidden 330 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 331 332 #line 57 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 333 334 //For the content builder - Empty columns 335 336 337 338 #line default 339 #line hidden 340 WriteLiteralTo(__razor_helper_writer, " <div"); 341 342 WriteLiteralTo(__razor_helper_writer, " class=\"content-row__item dw-mod\""); 343 344 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 345 346 WriteLiteralTo(__razor_helper_writer, " class=\"content-row__item__body dw-mod\""); 347 348 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 349 350 WriteLiteralTo(__razor_helper_writer, " "); 351 352 353 #line 62 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 354 WriteTo(__razor_helper_writer, column.Output()); 355 356 357 #line default 358 #line hidden 359 WriteLiteralTo(__razor_helper_writer, " \r\n </div>\r\n </div> \r\n"); 360 361 362 #line 65 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 363 364 365 #line default 366 #line hidden 367 }); 368 369 #line 65 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 370 } 371 #line default 372 #line hidden 373 374 375 #line 82 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 376 public RazorEngine.Templating.TemplateWriter RenderBlockList(List<Block> blocks) 377 { 378 #line default 379 #line hidden 380 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 381 382 #line 83 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 383 384 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 385 blocks = blocks.OrderBy(item => item.SortId).ToList(); 386 387 foreach (Block item in blocks) 388 { 389 if (debug) { 390 391 392 #line default 393 #line hidden 394 WriteLiteralTo(__razor_helper_writer, " <!-- Block START: "); 395 396 397 #line 90 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 398 WriteTo(__razor_helper_writer, item.Id); 399 400 401 #line default 402 #line hidden 403 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 404 405 406 #line 91 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 407 } 408 409 if (item.Design == null) 410 { 411 412 413 #line default 414 #line hidden 415 416 #line 95 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 417 WriteTo(__razor_helper_writer, RenderBlock(item)); 418 419 420 #line default 421 #line hidden 422 423 #line 95 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 424 425 } 426 else if (item.Design.RenderType == RenderType.None) { 427 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 428 429 430 431 #line default 432 #line hidden 433 WriteLiteralTo(__razor_helper_writer, " <div"); 434 435 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 4863), Tuple.Create("\"", 4887) 436 437 #line 100 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 438 , Tuple.Create(Tuple.Create("", 4871), Tuple.Create<System.Object, System.Int32>(cssClass 439 440 #line default 441 #line hidden 442 , 4871), false) 443 , Tuple.Create(Tuple.Create(" ", 4880), Tuple.Create("dw-mod", 4881), true) 444 ); 445 446 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 447 448 WriteLiteralTo(__razor_helper_writer, " "); 449 450 451 #line 101 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 452 WriteTo(__razor_helper_writer, RenderBlock(item)); 453 454 455 #line default 456 #line hidden 457 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 458 459 460 #line 103 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 461 } 462 else if (item.Design.RenderType != RenderType.Hide) 463 { 464 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 465 466 if (!item.SkipRenderBlocksList) { 467 if (item.Design.RenderType == RenderType.Row) 468 { 469 470 471 #line default 472 #line hidden 473 WriteLiteralTo(__razor_helper_writer, " <div"); 474 475 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 5273), Tuple.Create("\"", 5328) 476 , Tuple.Create(Tuple.Create("", 5281), Tuple.Create("grid", 5281), true) 477 , Tuple.Create(Tuple.Create(" ", 5285), Tuple.Create("grid--align-content-start", 5286), true) 478 479 #line 111 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 480 , Tuple.Create(Tuple.Create(" ", 5311), Tuple.Create<System.Object, System.Int32>(cssClass 481 482 #line default 483 #line hidden 484 , 5312), false) 485 , Tuple.Create(Tuple.Create(" ", 5321), Tuple.Create("dw-mod", 5322), true) 486 ); 487 488 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 5329), Tuple.Create("\"", 5349) 489 , Tuple.Create(Tuple.Create("", 5334), Tuple.Create("Block__", 5334), true) 490 491 #line 111 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 492 , Tuple.Create(Tuple.Create("", 5341), Tuple.Create<System.Object, System.Int32>(item.Id 493 494 #line default 495 #line hidden 496 , 5341), false) 497 ); 498 499 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 500 501 WriteLiteralTo(__razor_helper_writer, " "); 502 503 504 #line 112 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 505 WriteTo(__razor_helper_writer, RenderBlock(item)); 506 507 508 #line default 509 #line hidden 510 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 511 512 513 #line 114 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 514 } 515 516 if (item.Design.RenderType == RenderType.Column) 517 { 518 string hidePadding = item.Design.HidePadding ? "u-no-padding" : ""; 519 string size = item.Design.Size ?? "12"; 520 size = Regex.IsMatch(size, @"\d") ? "md-" + item.Design.Size : item.Design.Size; 521 522 523 524 #line default 525 #line hidden 526 WriteLiteralTo(__razor_helper_writer, " <div"); 527 528 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 5809), Tuple.Create("\"", 5931) 529 , Tuple.Create(Tuple.Create("", 5817), Tuple.Create("col-", 5817), true) 530 531 #line 122 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 532 , Tuple.Create(Tuple.Create("", 5821), Tuple.Create<System.Object, System.Int32>(item.Design.Size 533 534 #line default 535 #line hidden 536 , 5821), false) 537 , Tuple.Create(Tuple.Create(" ", 5838), Tuple.Create("grid__col-md-", 5839), true) 538 539 #line 122 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 540 , Tuple.Create(Tuple.Create("", 5852), Tuple.Create<System.Object, System.Int32>(item.Design.Size 541 542 #line default 543 #line hidden 544 , 5852), false) 545 , Tuple.Create(Tuple.Create(" ", 5869), Tuple.Create("grid__col-sm-12", 5870), true) 546 , Tuple.Create(Tuple.Create(" ", 5885), Tuple.Create("grid__col-xs-12", 5886), true) 547 548 #line 122 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 549 , Tuple.Create(Tuple.Create(" ", 5901), Tuple.Create<System.Object, System.Int32>(hidePadding 550 551 #line default 552 #line hidden 553 , 5902), false) 554 555 #line 122 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 556 , Tuple.Create(Tuple.Create(" ", 5914), Tuple.Create<System.Object, System.Int32>(cssClass 557 558 #line default 559 #line hidden 560 , 5915), false) 561 , Tuple.Create(Tuple.Create(" ", 5924), Tuple.Create("dw-mod", 5925), true) 562 ); 563 564 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 5932), Tuple.Create("\"", 5952) 565 , Tuple.Create(Tuple.Create("", 5937), Tuple.Create("Block__", 5937), true) 566 567 #line 122 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 568 , Tuple.Create(Tuple.Create("", 5944), Tuple.Create<System.Object, System.Int32>(item.Id 569 570 #line default 571 #line hidden 572 , 5944), false) 573 ); 574 575 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 576 577 WriteLiteralTo(__razor_helper_writer, " "); 578 579 580 #line 123 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 581 WriteTo(__razor_helper_writer, RenderBlock(item)); 582 583 584 #line default 585 #line hidden 586 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 587 588 589 #line 125 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 590 } 591 592 if (item.Design.RenderType == RenderType.Table) 593 { 594 595 596 #line default 597 #line hidden 598 WriteLiteralTo(__razor_helper_writer, " <table"); 599 600 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6159), Tuple.Create("\"", 6189) 601 , Tuple.Create(Tuple.Create("", 6167), Tuple.Create("table", 6167), true) 602 603 #line 129 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 604 , Tuple.Create(Tuple.Create(" ", 6172), Tuple.Create<System.Object, System.Int32>(cssClass 605 606 #line default 607 #line hidden 608 , 6173), false) 609 , Tuple.Create(Tuple.Create(" ", 6182), Tuple.Create("dw-mod", 6183), true) 610 ); 611 612 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6190), Tuple.Create("\"", 6210) 613 , Tuple.Create(Tuple.Create("", 6195), Tuple.Create("Block__", 6195), true) 614 615 #line 129 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 616 , Tuple.Create(Tuple.Create("", 6202), Tuple.Create<System.Object, System.Int32>(item.Id 617 618 #line default 619 #line hidden 620 , 6202), false) 621 ); 622 623 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 624 625 WriteLiteralTo(__razor_helper_writer, " "); 626 627 628 #line 130 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 629 WriteTo(__razor_helper_writer, RenderBlock(item)); 630 631 632 #line default 633 #line hidden 634 WriteLiteralTo(__razor_helper_writer, "\r\n </table>\r\n"); 635 636 637 #line 132 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 638 } 639 640 if (item.Design.RenderType == RenderType.TableRow) 641 { 642 643 644 #line default 645 #line hidden 646 WriteLiteralTo(__razor_helper_writer, " <tr"); 647 648 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6419), Tuple.Create("\"", 6443) 649 650 #line 136 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 651 , Tuple.Create(Tuple.Create("", 6427), Tuple.Create<System.Object, System.Int32>(cssClass 652 653 #line default 654 #line hidden 655 , 6427), false) 656 , Tuple.Create(Tuple.Create(" ", 6436), Tuple.Create("dw-mod", 6437), true) 657 ); 658 659 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6444), Tuple.Create("\"", 6464) 660 , Tuple.Create(Tuple.Create("", 6449), Tuple.Create("Block__", 6449), true) 661 662 #line 136 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 663 , Tuple.Create(Tuple.Create("", 6456), Tuple.Create<System.Object, System.Int32>(item.Id 664 665 #line default 666 #line hidden 667 , 6456), false) 668 ); 669 670 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 671 672 WriteLiteralTo(__razor_helper_writer, " "); 673 674 675 #line 137 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 676 WriteTo(__razor_helper_writer, RenderBlock(item)); 677 678 679 #line default 680 #line hidden 681 WriteLiteralTo(__razor_helper_writer, "\r\n </tr>\r\n"); 682 683 684 #line 139 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 685 } 686 687 if (item.Design.RenderType == RenderType.TableColumn) 688 { 689 690 691 #line default 692 #line hidden 693 WriteLiteralTo(__razor_helper_writer, " <td"); 694 695 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6673), Tuple.Create("\"", 6697) 696 697 #line 143 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 698 , Tuple.Create(Tuple.Create("", 6681), Tuple.Create<System.Object, System.Int32>(cssClass 699 700 #line default 701 #line hidden 702 , 6681), false) 703 , Tuple.Create(Tuple.Create(" ", 6690), Tuple.Create("dw-mod", 6691), true) 704 ); 705 706 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6698), Tuple.Create("\"", 6718) 707 , Tuple.Create(Tuple.Create("", 6703), Tuple.Create("Block__", 6703), true) 708 709 #line 143 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 710 , Tuple.Create(Tuple.Create("", 6710), Tuple.Create<System.Object, System.Int32>(item.Id 711 712 #line default 713 #line hidden 714 , 6710), false) 715 ); 716 717 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 718 719 WriteLiteralTo(__razor_helper_writer, " "); 720 721 722 #line 144 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 723 WriteTo(__razor_helper_writer, RenderBlock(item)); 724 725 726 #line default 727 #line hidden 728 WriteLiteralTo(__razor_helper_writer, "\r\n </td>\r\n"); 729 730 731 #line 146 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 732 } 733 734 if (item.Design.RenderType == RenderType.CardHeader) 735 { 736 737 738 #line default 739 #line hidden 740 WriteLiteralTo(__razor_helper_writer, " <div"); 741 742 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6927), Tuple.Create("\"", 6963) 743 , Tuple.Create(Tuple.Create("", 6935), Tuple.Create("card-header", 6935), true) 744 745 #line 150 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 746 , Tuple.Create(Tuple.Create(" ", 6946), Tuple.Create<System.Object, System.Int32>(cssClass 747 748 #line default 749 #line hidden 750 , 6947), false) 751 , Tuple.Create(Tuple.Create(" ", 6956), Tuple.Create("dw-mod", 6957), true) 752 ); 753 754 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 755 756 WriteLiteralTo(__razor_helper_writer, " "); 757 758 759 #line 151 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 760 WriteTo(__razor_helper_writer, RenderBlock(item)); 761 762 763 #line default 764 #line hidden 765 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 766 767 768 #line 153 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 769 } 770 771 if (item.Design.RenderType == RenderType.CardBody) 772 { 773 774 775 #line default 776 #line hidden 777 WriteLiteralTo(__razor_helper_writer, " <div"); 778 779 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7171), Tuple.Create("\"", 7200) 780 , Tuple.Create(Tuple.Create("", 7179), Tuple.Create("card", 7179), true) 781 782 #line 157 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 783 , Tuple.Create(Tuple.Create(" ", 7183), Tuple.Create<System.Object, System.Int32>(cssClass 784 785 #line default 786 #line hidden 787 , 7184), false) 788 , Tuple.Create(Tuple.Create(" ", 7193), Tuple.Create("dw-mod", 7194), true) 789 ); 790 791 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 792 793 WriteLiteralTo(__razor_helper_writer, " "); 794 795 796 #line 158 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 797 WriteTo(__razor_helper_writer, RenderBlock(item)); 798 799 800 #line default 801 #line hidden 802 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 803 804 805 #line 160 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 806 } 807 808 if (item.Design.RenderType == RenderType.CardFooter) 809 { 810 811 812 #line default 813 #line hidden 814 WriteLiteralTo(__razor_helper_writer, " <div"); 815 816 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7410), Tuple.Create("\"", 7446) 817 , Tuple.Create(Tuple.Create("", 7418), Tuple.Create("card-footer", 7418), true) 818 819 #line 164 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 820 , Tuple.Create(Tuple.Create(" ", 7429), Tuple.Create<System.Object, System.Int32>(cssClass 821 822 #line default 823 #line hidden 824 , 7430), false) 825 , Tuple.Create(Tuple.Create(" ", 7439), Tuple.Create("dw-mod", 7440), true) 826 ); 827 828 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 829 830 WriteLiteralTo(__razor_helper_writer, " "); 831 832 833 #line 165 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 834 WriteTo(__razor_helper_writer, RenderBlock(item)); 835 836 837 #line default 838 #line hidden 839 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 840 841 842 #line 167 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 843 } 844 } 845 else 846 { 847 848 849 #line default 850 #line hidden 851 852 #line 171 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 853 WriteTo(__razor_helper_writer, RenderBlock(item)); 854 855 856 #line default 857 #line hidden 858 859 #line 171 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 860 861 } 862 } 863 864 if (debug) { 865 866 867 #line default 868 #line hidden 869 WriteLiteralTo(__razor_helper_writer, " <!-- Block END: "); 870 871 872 #line 176 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 873 WriteTo(__razor_helper_writer, item.Id); 874 875 876 #line default 877 #line hidden 878 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 879 880 881 #line 177 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 882 } 883 } 884 885 886 #line default 887 #line hidden 888 }); 889 890 #line 179 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 891 } 892 #line default 893 #line hidden 894 895 896 #line 181 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 897 public RazorEngine.Templating.TemplateWriter RenderBlock(Block item) 898 { 899 #line default 900 #line hidden 901 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 902 903 #line 182 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 904 905 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 906 907 if (item.Template != null) 908 { 909 910 911 #line default 912 #line hidden 913 914 #line 187 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 915 WriteTo(__razor_helper_writer, BlocksPage.RenderTemplate(item.Template)); 916 917 918 #line default 919 #line hidden 920 921 #line 187 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 922 923 } 924 925 if (item.Component != null) 926 { 927 string customSufix = "Custom"; 928 string methodName = item.Component.HelperName; 929 930 ComponentBase[] methodParameters = new ComponentBase[1]; 931 methodParameters[0] = item.Component; 932 Type methodType = this.GetType(); 933 934 MethodInfo customMethod = methodType.GetMethod(methodName + customSufix); 935 MethodInfo generalMethod = methodType.GetMethod(methodName); 936 937 try { 938 if (debug) { 939 940 941 #line default 942 #line hidden 943 WriteLiteralTo(__razor_helper_writer, " <!-- Component: "); 944 945 946 #line 204 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 947 WriteTo(__razor_helper_writer, methodName.Replace("Render", "")); 948 949 950 #line default 951 #line hidden 952 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 953 954 955 #line 205 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 956 } 957 958 959 #line default 960 #line hidden 961 962 #line 206 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 963 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 964 965 966 #line default 967 #line hidden 968 969 #line 206 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 970 ; 971 } catch { 972 try { 973 974 975 #line default 976 #line hidden 977 978 #line 209 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 979 WriteTo(__razor_helper_writer, generalMethod.Invoke(this, methodParameters).ToString()); 980 981 982 #line default 983 #line hidden 984 985 #line 209 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 986 ; 987 } catch(Exception ex) { 988 throw new Exception(item.Component.GetType().Name + " method '" + methodName +"' could not be invoked", ex); 989 } 990 } 991 } 992 993 if (item.BlocksList.Count > 0 && !item.SkipRenderBlocksList) 994 { 995 996 997 #line default 998 #line hidden 999 1000 #line 218 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 1001 WriteTo(__razor_helper_writer, RenderBlockList(item.BlocksList)); 1002 1003 1004 #line default 1005 #line hidden 1006 1007 #line 218 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 1008 1009 } 1010 1011 1012 #line default 1013 #line hidden 1014 }); 1015 1016 #line 220 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 1017 } 1018 #line default 1019 #line hidden 1020 1021 1022 #line 235 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\Grid\Pages\RowTemplates\1-2SplitRow.cshtml" 1023 public RazorEngine.Templating.TemplateWriter Render(ComponentBase component) 1024 { 1025 #line default 1026 #line hidden 1027 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1028