#pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 59, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Toolbar / Orientation</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(110, 109, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <div class=\"control\">\r\n            <div class=\"toolhor\">\r\n                ");
                EndContext();
                BeginContext(219, 223, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9d52ae34966a4470aba96bffeeeeea83", async() => {
                    BeginContext(330, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(352, 59, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c26d54939aa84c2db4aa5817422c76d2", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Id = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ToolbarFields.SpriteCssClass = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(411, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource = ViewBag.datasource;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(442, 93, true);
                WriteLiteral("\r\n            </div>\r\n            <br />\r\n            <div class=\"toolver\">\r\n                ");
                EndContext();
                BeginContext(535, 219, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8e4b5b1864044811a59a06f6a4f8ef57", async() => {
                    BeginContext(642, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(664, 59, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e3fe236cd72441628b71644c1bee766d", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Id = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ToolbarFields.SpriteCssClass = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(723, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource = ViewBag.datasource;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(754, 50, true);
                WriteLiteral("\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(829, 11, true);
                WriteLiteral("\r\n    <link");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 840, "\"", 891, 1);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                WriteAttributeValue("", 847, Url.Content("~/css/Samples/ToolOrient.css"), 847, 44, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(892, 22, true);
                WriteLiteral(" rel=\"stylesheet\" />\r\n");
                EndContext();
            }
                          );
        }
Exemplo n.º 2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 73, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Toolbar / Data Binding - Local Data</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(124, 70, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <div class=\"control\">\r\n            ");
                EndContext();
                BeginContext(194, 254, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "60510bd53c024c9d9dcac8d9f5668df0", async() => {
                    BeginContext(330, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(348, 73, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c3974ed4706246598813fa6cb628661b", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Id = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ToolbarFields.SpriteCssClass = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Group = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(421, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\LocalDataBinding.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.EnableSeparator = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-separator", __Syncfusion_JavaScript_Models_ToolbarProperties.EnableSeparator, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\LocalDataBinding.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\LocalDataBinding.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource = ViewBag.datasource;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(448, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(503, 11, true);
                WriteLiteral("\r\n    <link");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 514, "\"", 564, 1);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\LocalDataBinding.cshtml"
                WriteAttributeValue("", 521, Url.Content("~/css/Samples/ToolLocal.css"), 521, 43, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(565, 22, true);
                WriteLiteral(" rel=\"stylesheet\" />\r\n");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 59, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Toolbar / Orientation</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(110, 109, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <div class=\"control\">\r\n            <div class=\"toolhor\">\r\n                ");
                EndContext();
                BeginContext(219, 223, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "557b507d42c347b99792163329b50cb3", async() => {
                    BeginContext(330, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(352, 59, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6814a6ae5f23462d8ee813a0f278c414", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Id = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ToolbarFields.SpriteCssClass = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(411, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource = ViewBag.datasource;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(442, 93, true);
                WriteLiteral("\r\n            </div>\r\n            <br />\r\n            <div class=\"toolver\">\r\n                ");
                EndContext();
                BeginContext(535, 219, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "327d84db703e4f6bac857cbe3c67978d", async() => {
                    BeginContext(642, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(664, 59, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0a741f0fe0ec4d98a44582482cfc292e", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Id = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ToolbarFields.SpriteCssClass = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(723, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource = ViewBag.datasource;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(754, 50, true);
                WriteLiteral("\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(829, 11, true);
                WriteLiteral("\r\n    <link");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 840, "\"", 891, 1);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Orientation.cshtml"
                WriteAttributeValue("", 847, Url.Content("~/css/Samples/ToolOrient.css"), 847, 44, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(892, 22, true);
                WriteLiteral(" rel=\"stylesheet\" />\r\n");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 62, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Toolbar / Inline Toolbar</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(113, 131, true);
                WriteLiteral("\r\n            <div class=\"frame\" style=\"width:300px\">\r\n                <div class=\"control\">\r\n               \r\n                    ");
                EndContext();
                BeginContext(244, 284, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "693cb626858343febc5f4124126eb116", async() => {
                    BeginContext(391, 26, true);
                    WriteLiteral("\r\n                        ");
                    EndContext();
                    BeginContext(417, 98, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f1271a0094884cc1b6235b77f81e1cae", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Id = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ToolbarFields.SpriteCssClass = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Group = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                    __Syncfusion_JavaScript_Models_ToolbarFields.TooltipText = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\InlineToolbar.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_ToolbarProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\InlineToolbar.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.ResponsiveType = global::Syncfusion.JavaScript.ResponsiveType.Inline;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("responsive-type", __Syncfusion_JavaScript_Models_ToolbarProperties.ResponsiveType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\InlineToolbar.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.EnableSeparator = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-separator", __Syncfusion_JavaScript_Models_ToolbarProperties.EnableSeparator, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\InlineToolbar.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource = ViewBag.datasource;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(528, 230, true);
                WriteLiteral("\r\n                </div>\r\n            </div>\r\n    <style>\r\n        .material .frame {\r\n            width: 497px;\r\n        }\r\n\r\n        .e-toolbar > .e-horizontal.e-ul > li {\r\n            margin-top: 4px;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 74, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Toolbar / Data Binding - Remote Data</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(125, 70, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <div class=\"control\">\r\n            ");
                EndContext();
                BeginContext(195, 335, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bfc458eac8734ca5ba99ea9f1a00bd24", async() => {
                    BeginContext(316, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(334, 38, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3a55ff6ba8ce44498e67e950445a3a20", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Text = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(372, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(390, 113, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datamanager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1684726eb8ea43ee979910c8796460d9", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_DataSource = CreateTagHelper <global::Syncfusion.JavaScript.DataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataSource);
                    __Syncfusion_JavaScript_DataSource.URL = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\DataBindingRemote.cshtml"
                    __Syncfusion_JavaScript_DataSource.CrossDomain = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("cross-domain", __Syncfusion_JavaScript_DataSource.CrossDomain, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(503, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\DataBindingRemote.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Query = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(530, 42, true);
                WriteLiteral("            \r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(597, 209, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .frame {\r\n            width: 35%;\r\n        }\r\n\r\n        .control {\r\n            color: black;\r\n            font-size: medium;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
            BeginContext(809, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
Exemplo n.º 6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 51, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Toolbar / Rtl</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(102, 70, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <div class=\"control\">\r\n            ");
                EndContext();
                BeginContext(172, 233, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Toolbar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "194c1dba02504a0f9a786e30ff82d4b8", async() => {
                    BeginContext(300, 19, true);
                    WriteLiteral("\r\n                 ");
                    EndContext();
                    BeginContext(319, 59, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c60d9aa6f35547ae8933aebd08a7eb64", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ToolbarFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarFields);
                    __Syncfusion_JavaScript_Models_ToolbarFields.Id = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ToolbarFields.SpriteCssClass = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(378, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_ToolbarProperties.Width = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource = ViewBag.datasource;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_ToolbarProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ToolbarProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarProperties.EnableRTL = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_ToolbarProperties.EnableRTL, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(405, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(460, 11, true);
                WriteLiteral("\r\n    <link");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 471, "\"", 519, 1);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Rtl.cshtml"
                WriteAttributeValue("", 478, Url.Content("~/css/Samples/ToolRtl.css"), 478, 41, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(520, 22, true);
                WriteLiteral(" rel=\"stylesheet\" />\r\n");
                EndContext();
            }
                          );
        }