Beispiel #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 51, true);
                WriteLiteral(" <span class=\"sampleName\">Rating / Precision</span>");
                EndContext();
            }
                          );
            BeginContext(77, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(104, 200, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <table>\r\n            <tr>\r\n                <td valign=\"top\">\r\n                    Full Precision :\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(304, 38, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8937a29d2d874f7cb643b52e37989e25", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Precision.cshtml"
                __Syncfusion_JavaScript_Models_RatingProperties.Value = 4;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, 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(342, 217, true);
                WriteLiteral("\r\n                   \r\n                </td>\r\n            </tr>\r\n            <tr>\r\n                <td valign=\"top\">\r\n                    Half Precision :\r\n                </td>\r\n                <td>\r\n                ");
                EndContext();
                BeginContext(559, 67, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1dda45b7e499410b9d4116621e325656", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Precision.cshtml"
                __Syncfusion_JavaScript_Models_RatingProperties.Value = 3;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Precision.cshtml"
                __Syncfusion_JavaScript_Models_RatingProperties.Precision = Precision.Half;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("precision", __Syncfusion_JavaScript_Models_RatingProperties.Precision, 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(626, 223, true);
                WriteLiteral("\r\n                </td>\r\n            </tr>\r\n            <tr>\r\n                <td valign=\"top\">\r\n                    Exact Precision :\r\n                </td>\r\n                <td>\r\n                    \r\n                    ");
                EndContext();
                BeginContext(849, 68, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b04cf82141b2428db83c4e12af0588b1", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
#line 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Precision.cshtml"
                __Syncfusion_JavaScript_Models_RatingProperties.Value = 4;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Precision.cshtml"
                __Syncfusion_JavaScript_Models_RatingProperties.Precision = Precision.Exact;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("precision", __Syncfusion_JavaScript_Models_RatingProperties.Precision, 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(917, 74, true);
                WriteLiteral("\r\n                </td>\r\n            </tr>\r\n        </table>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1016, 119, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .frame {\r\n            width: 277px;\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, 48, true);
                WriteLiteral(" <span class=\"sampleName\">Rating / Events</span>");
                EndContext();
            }
                          );
            BeginContext(74, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(101, 42, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        \r\n     ");
                EndContext();
                BeginContext(143, 141, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fb68fc333e1d468fac3b341213ca6af4", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_RatingProperties.Create = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_RatingProperties.Click = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_RatingProperties.Mouseout = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_RatingProperties.Mouseover = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_RatingProperties.Change = (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(284, 16, true);
                WriteLiteral("  \r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(303, 158, true);
            WriteLiteral("<div id=\"ratingTarget\">\r\n    <ul>\r\n        <li>click</li>\r\n        <li>mouseover</li>\r\n        <li>mouseout</li>\r\n        <li>change</li>\r\n    </ul>\r\n</div>\r\n");
            EndContext();
            DefineSection("EventsDropdown", async() => {
                BeginContext(485, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(491, 136, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "73c8541dca904494b06cd535ba5f5641", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-checkbox", __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("check-all", __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(627, 8, true);
                WriteLiteral("\r\n    \r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(661, 1701, true);
                WriteLiteral(@"
    <script>
        function evtpropcheckevent(args) {
            ratingObj = $(""#eventRating"").data(""ejRating"");
            if (args.isChecked) {
                switch (args.selectedValue) {
                    case ""create"": ratingObj.option(args.selectedValue, ""onCreate""); break;
                    case ""click"": ratingObj.option(args.selectedValue, ""onClientClick""); break;
                    case ""mouseover"": ratingObj.option(args.selectedValue, ""onClientOver""); break;
                    case ""mouseout"": ratingObj.option(args.selectedValue, ""onClientOut""); break;
                    case ""change"": ratingObj.option(args.selectedValue, ""onClientChange""); break;
                }
            }
            else ratingObj.option(args.selectedValue, null);
        }

        function onCreate(args) {
            jQuery.addEventLog(""Rating control has been <span class='eventTitle'>created</span>."");
        }
        function onClientClick(args) {
            jQuery.addEventLog(""Rating");
                WriteLiteral(@" control has been <span class='eventTitle'>clicked</span>.</br>"");
        }
        function onClientOver(args) {
            jQuery.addEventLog(""Rating control has been <span class='eventTitle'>hovered-in</span>.</br>"");
        }
        function onClientOut(args) {
            jQuery.addEventLog(""Rating control has been <span class='eventTitle'>hovered-out</span>.</br>"");
        }
        function onClientChange(args) {
            jQuery.addEventLog(""Rating value has been <span class='eventTitle'>changed</span> to "" + args.value + "" out of 5.</br>"");
        }
        function onClear() {
            jQuery.clearEventLog();
        }
    </script>
");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 49, true);
                WriteLiteral(" <span class=\"sampleName\">Rating / Default</span>");
                EndContext();
            }
                          );
            BeginContext(75, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(102, 12, true);
                WriteLiteral("\r\n    \r\n    ");
                EndContext();
                BeginContext(114, 4036, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tab", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f526584cfdc84c82b1091befc5a25f80", async() => {
                    BeginContext(137, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(147, 3988, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "07eb648d211449e6bea4a7fb3caee5c2", async() => {
                        BeginContext(160, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(174, 1299, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7731e7f1ad3f427ba8d040a3fe83cd8a", async() => {
                            BeginContext(220, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(238, 1208, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "38edeb81e3714d7896ea1fbc959c5aa7", async() => {
                                BeginContext(258, 206, true);
                                WriteLiteral("\r\n                    <div>\r\n                        <table>\r\n                            <tr>\r\n                                <td class=\"movies-img\" valign=\"top\">\r\n                                    <img");
                                EndContext();
                                BeginWriteAttribute("src", " src=\"", 464, "\"", 509, 1);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                WriteAttributeValue("", 470, Url.Content("~/Images/rating/mos.png"), 470, 39, false);

#line default
#line hidden
                                EndWriteAttribute();
                                BeginContext(510, 380, true);
                                WriteLiteral(@" alt=""mos"" />
                                </td>
                                <td valign=""top"">
                                    <div>
                                        <span class=""movie-header"">Man of Steel</span><br />
                                        Rating :
                                        <br />
                                        ");
                                EndContext();
                                BeginContext(890, 39, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "873e2b55727b429da819c5b1f7eec921", async() => {
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                __Syncfusion_JavaScript_Models_RatingProperties.Value = 4;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, 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(929, 496, true);
                                WriteLiteral(@"

                                            <span>Movie Info:</span>
                                            <p>
                                                A young boy learns that he has extraordinary powers and is not of this Earth.
                                            </p>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1446, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_TabBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBaseItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBaseItem);
                        __Syncfusion_JavaScript_Models_TabBaseItem.ID = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        __Syncfusion_JavaScript_Models_TabBaseItem.Text = (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(1473, 16, true);
                        WriteLiteral("\r\n\r\n            ");
                        EndContext();
                        BeginContext(1489, 1284, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ed6c0133f1e74a439a1de19a6d7c18be", async() => {
                            BeginContext(1533, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1551, 1195, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7e669f707da9420d9804f7978ccb5836", async() => {
                                BeginContext(1571, 206, true);
                                WriteLiteral("\r\n                    <div>\r\n                        <table>\r\n                            <tr>\r\n                                <td class=\"movies-img\" valign=\"top\">\r\n                                    <img");
                                EndContext();
                                BeginWriteAttribute("src", " src=\"", 1777, "\"", 1822, 1);
#line 40 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                WriteAttributeValue("", 1783, Url.Content("~/Images/rating/wwz.png"), 1783, 39, false);

#line default
#line hidden
                                EndWriteAttribute();
                                BeginContext(1823, 381, true);
                                WriteLiteral(@" alt=""mos"" />
                                </td>
                                <td valign=""top"">
                                    <div>
                                        <span class=""movie-header"">World War Z</span><br />
                                        Rating :
                                        <br />

                                        ");
                                EndContext();
                                BeginContext(2204, 36, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "a2d8cf36f1094810ab6d0f523c5fef2a", async() => {
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
#line 48 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                __Syncfusion_JavaScript_Models_RatingProperties.Value = 4;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, 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(2240, 485, true);
                                WriteLiteral(@"
                                            <span>Movie Info:</span>
                                            <p>
                                                The story revolves around United Nations employee Gerry Lane (Pitt).
                                            </p>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(2746, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_TabBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBaseItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBaseItem);
                        __Syncfusion_JavaScript_Models_TabBaseItem.ID = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_TabBaseItem.Text = (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(2773, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(2787, 1324, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "02a2ec24a30649178e597f951386fc5e", async() => {
                            BeginContext(2837, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(2855, 1229, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2b81b4c923064934b8abfa67530cbeac", async() => {
                                BeginContext(2875, 206, true);
                                WriteLiteral("\r\n                    <div>\r\n                        <table>\r\n                            <tr>\r\n                                <td class=\"movies-img\" valign=\"top\">\r\n                                    <img");
                                EndContext();
                                BeginWriteAttribute("src", " src=\"", 3081, "\"", 3125, 1);
#line 66 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                WriteAttributeValue("", 3087, Url.Content("~/Images/rating/mu.png"), 3087, 38, false);

#line default
#line hidden
                                EndWriteAttribute();
                                BeginContext(3126, 391, true);
                                WriteLiteral(@" alt=""mos"" />
                                </td>
                                <td valign=""top"">
                                    <div>
                                        <span class=""movie-header"">Monsters University</span><br />
                                        Rating :
                                        <br />


                                        ");
                                EndContext();
                                BeginContext(3517, 36, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "cc3879901a544a35afc4288a72072bf5", async() => {
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 75 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                __Syncfusion_JavaScript_Models_RatingProperties.Value = 3;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, 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(3553, 510, true);
                                WriteLiteral(@"
                                            <span>Movie Info:</span>
                                            <p>
                                                Mike Wazowski and James P. Sullivan are an inseparable pair, but that wasn't always the case.
                                            </p>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(4084, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_TabBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBaseItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBaseItem);
                        __Syncfusion_JavaScript_Models_TabBaseItem.ID = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        __Syncfusion_JavaScript_Models_TabBaseItem.Text = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(4111, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TabBase = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBase>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBase);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(4135, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TabProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4150, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(4177, 223, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .movies-img {\r\n            width: 125px;\r\n        }\r\n\r\n        .movie-header {\r\n            font-size: 20px;\r\n            font-weight: 600;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
            BeginContext(4403, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 53, true);
                WriteLiteral(" <span class=\"sampleName\">Rating / Orientation</span>");
                EndContext();
            }
                          );
            BeginContext(79, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(106, 47, true);
                WriteLiteral("\r\n\r\n    <div class=\"frame\">\r\n        \r\n        ");
                EndContext();
                BeginContext(153, 30, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a953195c60ff405e9e0e732957db9b92", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(183, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(200, 112, true);
            WriteLiteral("\r\n<div id=\"ratingTarget\">\r\n    <ul>\r\n        <li>Horizontal</li>\r\n        <li>Vertical</li>\r\n    </ul>\r\n</div>\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(339, 143, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Orientation :\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n           ");
                EndContext();
                BeginContext(482, 119, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "bf1e0ea4d729400ca8c89602a2d0d1dd", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (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(601, 45, true);
                WriteLiteral("\r\n             \r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(672, 257, true);
                WriteLiteral(@"
    <script>
        function onChanged(args) {
            $(""#orientRating"").ejRating(""setModel"", { orientation: args.selectedText });
        }
        $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); });
    </script>
");
                EndContext();
            }
                          );
        }
Beispiel #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 49, true);
                WriteLiteral(" <span class=\"sampleName\">Rating / Default</span>");
                EndContext();
            }
                          );
            BeginContext(75, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(102, 12, true);
                WriteLiteral("\r\n    \r\n    ");
                EndContext();
                BeginContext(114, 4036, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tab", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a0fd495bb5e3450598e4687a097bd926", async() => {
                    BeginContext(137, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(147, 3988, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0f42192dc71e4f80a61317ea53814a43", async() => {
                        BeginContext(160, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(174, 1299, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1ee267094deb4592904075a15a18274d", async() => {
                            BeginContext(220, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(238, 1208, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3308b0747bf243578dcb1d6d6f2e230f", async() => {
                                BeginContext(258, 206, true);
                                WriteLiteral("\r\n                    <div>\r\n                        <table>\r\n                            <tr>\r\n                                <td class=\"movies-img\" valign=\"top\">\r\n                                    <img");
                                EndContext();
                                BeginWriteAttribute("src", " src=\"", 464, "\"", 509, 1);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                WriteAttributeValue("", 470, Url.Content("~/Images/rating/mos.png"), 470, 39, false);

#line default
#line hidden
                                EndWriteAttribute();
                                BeginContext(510, 380, true);
                                WriteLiteral(@" alt=""mos"" />
                                </td>
                                <td valign=""top"">
                                    <div>
                                        <span class=""movie-header"">Man of Steel</span><br />
                                        Rating :
                                        <br />
                                        ");
                                EndContext();
                                BeginContext(890, 39, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b6a4da93323d4ce2b17f4284d9e180f0", async() => {
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                __Syncfusion_JavaScript_Models_RatingProperties.Value = 4;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, 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(929, 496, true);
                                WriteLiteral(@"

                                            <span>Movie Info:</span>
                                            <p>
                                                A young boy learns that he has extraordinary powers and is not of this Earth.
                                            </p>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1446, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_TabBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBaseItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBaseItem);
                        __Syncfusion_JavaScript_Models_TabBaseItem.ID = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        __Syncfusion_JavaScript_Models_TabBaseItem.Text = (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(1473, 16, true);
                        WriteLiteral("\r\n\r\n            ");
                        EndContext();
                        BeginContext(1489, 1284, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "da90a51c3bdc409a91df320b48a8c9c8", async() => {
                            BeginContext(1533, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1551, 1195, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6e6cf0b0daa647ff9a3bab31d6f7779b", async() => {
                                BeginContext(1571, 206, true);
                                WriteLiteral("\r\n                    <div>\r\n                        <table>\r\n                            <tr>\r\n                                <td class=\"movies-img\" valign=\"top\">\r\n                                    <img");
                                EndContext();
                                BeginWriteAttribute("src", " src=\"", 1777, "\"", 1822, 1);
#line 40 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                WriteAttributeValue("", 1783, Url.Content("~/Images/rating/wwz.png"), 1783, 39, false);

#line default
#line hidden
                                EndWriteAttribute();
                                BeginContext(1823, 381, true);
                                WriteLiteral(@" alt=""mos"" />
                                </td>
                                <td valign=""top"">
                                    <div>
                                        <span class=""movie-header"">World War Z</span><br />
                                        Rating :
                                        <br />

                                        ");
                                EndContext();
                                BeginContext(2204, 36, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "1667bc8398d84a53a854562e87402405", async() => {
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
#line 48 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                __Syncfusion_JavaScript_Models_RatingProperties.Value = 4;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, 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(2240, 485, true);
                                WriteLiteral(@"
                                            <span>Movie Info:</span>
                                            <p>
                                                The story revolves around United Nations employee Gerry Lane (Pitt).
                                            </p>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(2746, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_TabBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBaseItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBaseItem);
                        __Syncfusion_JavaScript_Models_TabBaseItem.ID = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_TabBaseItem.Text = (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(2773, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(2787, 1324, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9e5597a86c824444a1d4e7c17c330cd0", async() => {
                            BeginContext(2837, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(2855, 1229, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c4bc89ab88142e28047ad145abbdc9c", async() => {
                                BeginContext(2875, 206, true);
                                WriteLiteral("\r\n                    <div>\r\n                        <table>\r\n                            <tr>\r\n                                <td class=\"movies-img\" valign=\"top\">\r\n                                    <img");
                                EndContext();
                                BeginWriteAttribute("src", " src=\"", 3081, "\"", 3125, 1);
#line 66 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                WriteAttributeValue("", 3087, Url.Content("~/Images/rating/mu.png"), 3087, 38, false);

#line default
#line hidden
                                EndWriteAttribute();
                                BeginContext(3126, 391, true);
                                WriteLiteral(@" alt=""mos"" />
                                </td>
                                <td valign=""top"">
                                    <div>
                                        <span class=""movie-header"">Monsters University</span><br />
                                        Rating :
                                        <br />


                                        ");
                                EndContext();
                                BeginContext(3517, 36, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "0ce7058e33fa479596ae9b52f22906aa", async() => {
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 75 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Default.cshtml"
                                __Syncfusion_JavaScript_Models_RatingProperties.Value = 3;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_RatingProperties.Value, 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(3553, 510, true);
                                WriteLiteral(@"
                                            <span>Movie Info:</span>
                                            <p>
                                                Mike Wazowski and James P. Sullivan are an inseparable pair, but that wasn't always the case.
                                            </p>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(4084, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_TabBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBaseItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBaseItem);
                        __Syncfusion_JavaScript_Models_TabBaseItem.ID = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        __Syncfusion_JavaScript_Models_TabBaseItem.Text = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(4111, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TabBase = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabBase>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabBase);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(4135, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TabProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TabProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TabProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4150, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(4177, 223, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .movies-img {\r\n            width: 125px;\r\n        }\r\n\r\n        .movie-header {\r\n            font-size: 20px;\r\n            font-weight: 600;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
            BeginContext(4403, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 49, true);
                WriteLiteral(" <span class=\"sampleName\">Rating / Methods</span>");
                EndContext();
            }
                          );
            BeginContext(75, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(102, 47, true);
                WriteLiteral("\r\n\r\n    <div class=\"frame\">\r\n        \r\n        ");
                EndContext();
                BeginContext(149, 27, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "13585fd781c1413dae1eef5b69b90679", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(176, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(193, 174, true);
            WriteLiteral("<div id=\"ratingTarget\">\r\n    <ul>\r\n        <li>0</li>\r\n        <li>1</li>\r\n        <li>2</li>\r\n        <li>3</li>\r\n        <li>4</li>\r\n        <li>5</li>\r\n    </ul>\r\n</div>\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(394, 154, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Set Value\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            \r\n            ");
                EndContext();
                BeginContext(548, 121, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "742bdb6cf99742128fb5b6d17ebdfe6b", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Methods.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 1;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (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(669, 188, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Get Current Value\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n          \r\n            ");
                EndContext();
                BeginContext(857, 83, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "de9778fa292e49d8b9b144623ef444d4", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(940, 180, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Reset\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            \r\n            ");
                EndContext();
                BeginContext(1120, 74, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6ef97b3a3d224399b2fa2891f929d68d", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1194, 171, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Reset Button\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(1365, 113, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "387fd9d5cf614ff39c323dea9809b6b7", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1478, 195, true);
                WriteLiteral("\r\n            \r\n        </div>\r\n    </div>\r\n\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Rating\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            \r\n            ");
                EndContext();
                BeginContext(1673, 120, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7dbff52971ab41c99ee65b0daf288f6f", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1793, 166, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Destroy\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(1959, 125, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "21c985e72c0d4571ab48fa7224d3bbbc", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_21.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2084, 44, true);
                WriteLiteral("\r\n            \r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2154, 2625, true);
                WriteLiteral(@"
    <script>
        var ratingObj, ddlObj;
        $(function () {
            ratingObj = $(""#apiRating"").data(""ejRating"");
            ddlObj = $(""#ddlRating"").data(""ejDropDownList"");
        });
        ratingObj = $(""#apiRating"").data(""ejRating"");
        function onGetValueClck(args) {
            if (ratingObj) {
                var val = ratingObj.getValue();
                alert(""Current Value : "" + val);
            }
        }
        function setRatingValue(args) {
            ratingObj = $(""#apiRating"").data(""ejRating"");
            if (ratingObj) {
                ratingObj = $(""#apiRating"").data(""ejRating"");
                ratingObj.setValue(args.selectedText);
            }
        }
        function onResetClick() {
            if (ratingObj)
                ratingObj.reset();
            ddlObj.option(""selectedItemIndex"", 0);
        }
        function onShowHideRating(args) {
            if (ratingObj) {
                if (args.isChecked)
                   ");
                WriteLiteral(@" ratingObj.hide();
                else
                    ratingObj.show();
            }
        }
        function onShowHideReset(args) {
            if (ratingObj) {
                if (args.isChecked)
                    ratingObj.option({ allowReset: false });
                else
                    ratingObj.option({ allowReset: true });
            }
        }
        function onDestroyRestore(args) {
            ratingObj = $(""#apiRating"").data(""ejRating"");
            ddlObj = $(""#ddlRating"").data(""ejDropDownList"");
            hideButtonObj = $(""#chkShowHideRating"").data(""ejToggleButton"");
            resetButtonObj = $(""#chkResetbtn"").data(""ejToggleButton"");
            resetObj = $(""#btnReset"").data(""ejButton"");
            valButtonObj = $(""#btnGetValue"").data(""ejButton"");
            if(args.isChecked){
                ratingObj.destroy();
                ddlObj.disable();
                hideButtonObj.disable();
                resetButtonObj.disable();
            ");
                WriteLiteral(@"    resetObj.disable();
                valButtonObj.disable();
            }
            else {
                $(""#apiRating"").ejRating();
                ratingObj = $(""#apiRating"").data(""ejRating"");
                ddlObj.option('value', """");
                ddlObj.enable();
                hideButtonObj.enable();
                resetButtonObj.enable();
                resetObj.enable();
                valButtonObj.enable();
            }
        }
        $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); });
    </script>
");
                EndContext();
            }
                          );
        }
Beispiel #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 49, true);
                WriteLiteral(" <span class=\"sampleName\">Rating / Methods</span>");
                EndContext();
            }
                          );
            BeginContext(75, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(102, 47, true);
                WriteLiteral("\r\n\r\n    <div class=\"frame\">\r\n        \r\n        ");
                EndContext();
                BeginContext(149, 27, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rating", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0da12c2884404f3e91db3f55c621178d", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RatingProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RatingProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RatingProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(176, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(193, 174, true);
            WriteLiteral("<div id=\"ratingTarget\">\r\n    <ul>\r\n        <li>0</li>\r\n        <li>1</li>\r\n        <li>2</li>\r\n        <li>3</li>\r\n        <li>4</li>\r\n        <li>5</li>\r\n    </ul>\r\n</div>\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(394, 154, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Set Value\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            \r\n            ");
                EndContext();
                BeginContext(548, 121, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "559b78b829a64c9f8fe56022e7f74f66", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rating\Methods.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 1;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (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(669, 188, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Get Current Value\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n          \r\n            ");
                EndContext();
                BeginContext(857, 83, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "36f005d7f91545928a98790e6b8c5c15", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(940, 180, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Reset\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            \r\n            ");
                EndContext();
                BeginContext(1120, 74, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "10521acf137e4e5bb44e5aff5ba2a0e2", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1194, 171, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Reset Button\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(1365, 113, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "19ba89781b7445d2a72ebf3c1d241fd3", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1478, 195, true);
                WriteLiteral("\r\n            \r\n        </div>\r\n    </div>\r\n\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Rating\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            \r\n            ");
                EndContext();
                BeginContext(1673, 120, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "da5a3e9ebb0a41c19b272173577aa7f5", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1793, 166, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Destroy\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(1959, 125, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4abdbf4e039548f3b70a5caed5d1cd2e", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_21.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2084, 44, true);
                WriteLiteral("\r\n            \r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2154, 2625, true);
                WriteLiteral(@"
    <script>
        var ratingObj, ddlObj;
        $(function () {
            ratingObj = $(""#apiRating"").data(""ejRating"");
            ddlObj = $(""#ddlRating"").data(""ejDropDownList"");
        });
        ratingObj = $(""#apiRating"").data(""ejRating"");
        function onGetValueClck(args) {
            if (ratingObj) {
                var val = ratingObj.getValue();
                alert(""Current Value : "" + val);
            }
        }
        function setRatingValue(args) {
            ratingObj = $(""#apiRating"").data(""ejRating"");
            if (ratingObj) {
                ratingObj = $(""#apiRating"").data(""ejRating"");
                ratingObj.setValue(args.selectedText);
            }
        }
        function onResetClick() {
            if (ratingObj)
                ratingObj.reset();
            ddlObj.option(""selectedItemIndex"", 0);
        }
        function onShowHideRating(args) {
            if (ratingObj) {
                if (args.isChecked)
                   ");
                WriteLiteral(@" ratingObj.hide();
                else
                    ratingObj.show();
            }
        }
        function onShowHideReset(args) {
            if (ratingObj) {
                if (args.isChecked)
                    ratingObj.option({ allowReset: false });
                else
                    ratingObj.option({ allowReset: true });
            }
        }
        function onDestroyRestore(args) {
            ratingObj = $(""#apiRating"").data(""ejRating"");
            ddlObj = $(""#ddlRating"").data(""ejDropDownList"");
            hideButtonObj = $(""#chkShowHideRating"").data(""ejToggleButton"");
            resetButtonObj = $(""#chkResetbtn"").data(""ejToggleButton"");
            resetObj = $(""#btnReset"").data(""ejButton"");
            valButtonObj = $(""#btnGetValue"").data(""ejButton"");
            if(args.isChecked){
                ratingObj.destroy();
                ddlObj.disable();
                hideButtonObj.disable();
                resetButtonObj.disable();
            ");
                WriteLiteral(@"    resetObj.disable();
                valButtonObj.disable();
            }
            else {
                $(""#apiRating"").ejRating();
                ratingObj = $(""#apiRating"").data(""ejRating"");
                ddlObj.option('value', """");
                ddlObj.enable();
                hideButtonObj.enable();
                resetButtonObj.enable();
                resetObj.enable();
                valButtonObj.enable();
            }
        }
        $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); });
    </script>
");
                EndContext();
            }
                          );
        }