Example #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 77, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">SpellCheck / Default Functionalities </span>\r\n");
                EndContext();
            }
                          );
            BeginContext(103, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(130, 619, true);
                WriteLiteral(@"
    <div id=""TextArea"" contenteditable=""true"">
        Facebook is a social networking service headquartered in Menlo Park, California. Its website was launched on February 4, 2004, by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo, Andrew McCollum, Dustin and Chris Hughes.
        The fouders had initially limited the websites membrship to Harvard students, but later expanded it to collges in the Boston area, the Ivy League, and Stanford Univrsity. It graually added support for students at various other universities and later to high-school students.
    </div><br />

    ");
                EndContext();
                BeginContext(749, 423, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spell-check", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "59fb30bbbe704a46872b845d2f871ff2", async() => {
                    BeginContext(845, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(855, 217, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dictionary-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0fc382064f3a405aa1a530a28e999235", async() => {
                        BeginContext(1038, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckDictionarySettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckDictionarySettings);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.CustomDictionaryUrl = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.DictionaryUrl = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1072, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1082, 67, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5c51264a774c452a803eebebf700ab75", async() => {
                        BeginContext(1122, 1, true);
                        WriteLiteral(" ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellContextSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellContextSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellContextSettings);
#line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\Default.cshtml"
                    __Syncfusion_JavaScript_Models_SpellContextSettings.Enable = false;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_SpellContextSettings.Enable, 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(1149, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SpellCheckProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_SpellCheckProperties.ControlsToValidate = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\Default.cshtml"
                __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount = 2;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("max-suggestion-count", __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount, 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(1172, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1178, 108, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "533fc8ffd2204fb690b1d81325eb5887", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_ButtonProperties.Height = (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(1286, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(1291, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(1316, 209, true);
                WriteLiteral("\r\n    <script type=\"text/javascript\">\r\n        function showDialog() {\r\n            var spellObj = $(\"#SpellCheckDialog\").data(\"ejSpellCheck\");\r\n            spellObj.showInDialog();\r\n        }\r\n    </script>\r\n");
                EndContext();
            }
                          );
            BeginContext(1528, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
        }
Example #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 68, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">SpellCheck / Multiple Target</span>\r\n");
                EndContext();
            }
                          );
            BeginContext(94, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(121, 1195, true);
                WriteLiteral(@"
    <div id=""control1"">
        London, one of the most popular touist destinations in the world for a reason. A cultural and hisorical hub, London has an excellent public transportation system that allows visitors to see all the fantatic sights without spending a ton of money on a rental car.
        London contains four World Heritage Sites.
    </div><br />
    <textarea id=""control2"" style=""width:99%;height:100px"">
        Paris, the city of lihts and love - this short guide is full of ideas for how to make the most of the romnticism that oozes from every one of its beautiful corners.You couldn't possibly visit Paris without seeing the Eiffel Tower.
        Even if you do not want to visit this world famous structure, you will see its top from all over Paris.
    </textarea><br /><br />
    <span id=""control3"">
        Rome, one of the world's most facinating cities. The old adage that Rome was not built in a day - and that you won't see it in one or even in three - is true. For the intrepid tr");
                WriteLiteral("aveler who can keep pace, here is a list of must-sees.\r\n        But reember what the Romans say: Even a lifetime isn\'t enough to see Rome.\r\n    </span><br /><br />\r\n\r\n    ");
                EndContext();
                BeginContext(1316, 434, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spell-check", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "388ebadf4b124cf19b5beea62a8e4799", async() => {
                    BeginContext(1424, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1434, 207, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dictionary-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f7a00f541dec4d1a885a9459cef601c5", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckDictionarySettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckDictionarySettings);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.CustomDictionaryUrl = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.DictionaryUrl = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1641, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1651, 76, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "64ab76dc8dc5471e89913a29552e6ee4", async() => {
                        BeginContext(1691, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellContextSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellContextSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellContextSettings);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\MultipleTarget.cshtml"
                    __Syncfusion_JavaScript_Models_SpellContextSettings.Enable = false;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_SpellContextSettings.Enable, 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(1727, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SpellCheckProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_SpellCheckProperties.ControlsToValidate = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\MultipleTarget.cshtml"
                __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount = 2;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("max-suggestion-count", __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount, 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(1750, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1756, 108, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b421e5fc5ac345618cf5487a0d357ecb", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_ButtonProperties.Height = (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(1864, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
            }
                          );
            BeginContext(1871, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(1896, 1112, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        $(""document"").ready(function () {
            if (window.themevarient === ""dark"")
                document.getElementById(""control2"").style.backgroundColor = ""#111111"";
            else
                document.getElementById(""control2"").style.backgroundColor = ""white"";
        });
        function showDialog() {
            var spellObj = $(""#TextArea"").data(""ejSpellCheck"");
            spellObj.showInDialog();
        }
        function onTargetUpdating(args) {
            onUpdate(args.previousElement);
            $(args.currentElement)[0].style.border = ""thin solid blue"";
        }
        function onDialogClose(args) {
            onUpdate(args.targetElement);
        }
        function onUpdate(element) {
            if (!ej.isNullOrUndefined(element)) {
                if ($(element)[0].attributes[""id""].value === ""control2"")
                    $(element)[0].style.borderColor = ""rgb(169, 169, 169)"";
                else
             ");
                WriteLiteral("       $(element)[0].style.border = \"none\";\r\n            }\r\n        }\r\n\r\n    </script>\r\n");
                EndContext();
            }
                          );
            BeginContext(3011, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 58, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">SpellCheck / API\'s</span>\r\n");
                EndContext();
            }
                          );
            BeginContext(84, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(111, 1136, true);
                WriteLiteral(@"
    <div id=""TextArea"" contenteditable=""true"">
        Amazon.com, Inc., often refered to as simply Amazon, is an American electronic commerce and cloud computing company with headquarters in Seattle, Washington. It is the largest web-based retailer in the United States. Amazon.com started as bookstore on the web, later diversifying to sell DVDs, Blu-rays, CDs, video downloads/streaming, MP3 downloads/streaming, audiobook downloads/streaming, software, video games, electronics, apparel, furniture, food, toys and jewelry. The company also produces consumer electronics—notably, Amazon Kindle e-book readers, Fire tablets, Fire TV and Fire Phone—and is the world's largest provider of cloud infrastructure services (IaaS). Amazon also sells certain low-end products like USB cables under its in-house brand AmazonBasics.
        Amazon has separate retail websites for United States, United Kingdom and Ireland, France, Canada, Germany, Italy, Spain, Netherlands, Australia, Brazil, Japan, China, India and Mexico. A");
                WriteLiteral("mazon also offers international shipping to cetain other countries for some of its products.\r\n    </div>\r\n\r\n    ");
                EndContext();
                BeginContext(1247, 412, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spell-check", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "928f9b159f8642a0bccf43b518bfef61", async() => {
                    BeginContext(1343, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1353, 207, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dictionary-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ac05583efcca47448cae1112616db0e4", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckDictionarySettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckDictionarySettings);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.CustomDictionaryUrl = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.DictionaryUrl = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1560, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1570, 66, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a8fe60e9e4954f939cdaa78847fbd4ce", async() => {
                        BeginContext(1609, 1, true);
                        WriteLiteral(" ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellContextSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellContextSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellContextSettings);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\API.cshtml"
                    __Syncfusion_JavaScript_Models_SpellContextSettings.Enable = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_SpellContextSettings.Enable, 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(1636, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SpellCheckProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_SpellCheckProperties.ControlsToValidate = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\API.cshtml"
                __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount = 2;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("max-suggestion-count", __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount, 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(1659, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1665, 102, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "201c61b680694bc6a394d15bbde7a581", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_ButtonProperties.Height = (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(1767, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(1772, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(1801, 317, true);
                WriteLiteral(@"
    <div id=""sampleProperties"">
        <div class=""prop-grid"">
            <div class=""row"">
                <div class=""col-md-3 aligntop"">MisspellWordCss</div>
                <div class=""col-md-3"">
                    <select name=""selectIndex"" class=""e-ddl"" id=""misspellWordCss"">
                        ");
                EndContext();
                BeginContext(2118, 45, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2b26d16b63f4444d94973221e5300d4b", async() => {
                    BeginContext(2144, 10, true);
                    WriteLiteral("Highlight1");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2163, 26, true);
                WriteLiteral("\r\n                        ");
                EndContext();
                BeginContext(2189, 47, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6506f7c309694d168021bd03721f86b9", async() => {
                    BeginContext(2217, 10, true);
                    WriteLiteral("Highlight2");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2236, 26, true);
                WriteLiteral("\r\n                        ");
                EndContext();
                BeginContext(2262, 47, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1417e4ddfd8f43839b86d5006cac3989", async() => {
                    BeginContext(2290, 10, true);
                    WriteLiteral("Highlight3");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (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(2309, 2273, true);
                WriteLiteral(@"
                    </select>
                </div>
            </div>
            <div class=""row"">
                <div class=""col-md-3"">Ignore AlphaNumeric Words</div>
                <div class=""col-md-3"">
                    <input type=""checkbox"" class=""nodetext"" id=""ignoreAlphaNumericWords"" />
                </div>
            </div>
            <br />
            <div class=""row"">
                <div class=""col-md-3"">Ignore UpperCase</div>
                <div class=""col-md-3"">
                    <input type=""checkbox"" class=""nodetext"" id=""ignoreUpperCase"" />
                </div>
            </div>
            <div class=""row"">
                <div class=""col-md-3"">Ignore MixedCase Words</div>
                <div class=""col-md-3"">
                    <input type=""checkbox"" class=""nodetext"" id=""ignoreMixedCaseWords"" />
                </div>
            </div><br />
            <div class=""row"">
                <div class=""col-md-3"">Ignore Url</div>
                <div");
                WriteLiteral(@" class=""col-md-3"">
                    <input type=""checkbox"" class=""nodetext"" id=""ignoreUrl"" />
                </div>
            </div>
            <div class=""row"">
                <div class=""col-md-3"">Ignore FileNames</div>
                <div class=""col-md-3"">
                    <input type=""checkbox"" class=""nodetext"" id=""ignoreFileNames"" />
                </div>
            </div>
            <div class=""row"">
                <div class=""col-md-3"">Ignore Email Address</div>
                <div class=""col-md-3"">
                    <input type=""checkbox"" class=""nodetext"" id=""ignoreEmailAddress"" />
                </div>
            </div>
            <div class=""row"">
                <div class=""col-md-3"">Maximum Suggestion Count</div>
                <div class=""col-md-3"">
                    <input type=""text"" id=""maxSuggestionCount"" value=""maxSuggestionCount"" />
                </div>
            </div><br />
            <div class=""row"">
                <div class=""col-md");
                WriteLiteral("-3\">Ignore Words</div>\r\n                <div class=\"col-md-12\">\r\n                    <input type=\"text\" id=\"ignoreWordsDropDown\" class=\"e-togglebtn\" />\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(4607, 219, true);
                WriteLiteral("\r\n    <style>\r\n        .errorword {\r\n            color: red;\r\n        }\r\n\r\n        .highlighter {\r\n            color: blue;\r\n        }\r\n\r\n        #TextArea {\r\n            padding-bottom: 15px;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
            BeginContext(4829, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(4854, 3286, true);
                WriteLiteral(@"

    <script type=""text/javascript"">
        var target;
        var ignoreWordsData = [
                { word: ""audiobook"" }, { word: ""Blu"" }, { word: ""DVDs"" }
        ];
        $(function () {
            $(""#sampleProperties"").ejPropertiesPanel();
            var spellObj = $(""#SpellCheckDialog"").data(""ejSpellCheck"");
            spellObj.validate();
        });

        $(""#misspellWordCss"").ejDropDownList({ selectedItemIndex: 2, select: ""changeErrorHighlight"", change: ""showInContextMenu"", width: ""110px"" });
        $(""#ignoreAlphaNumericWords"").ejCheckBox({ change: ""ignoreAlphaNumericWords"", checked: true });
        $(""#ignoreUpperCase"").ejCheckBox({ change: ""ignoreUpperCase"", checked: true });
        $(""#ignoreUrl"").ejCheckBox({ change: ""ignoreUrl"", checked: true });
        $(""#ignoreMixedCaseWords"").ejCheckBox({ change: ""ignoreMixedCaseWords"", checked: true });
        $(""#ignoreFileNames"").ejCheckBox({ change: ""ignoreFileNames"", checked: true });
        $(""#ignoreEmailAddress");
                WriteLiteral(@""").ejCheckBox({ change: ""ignoreEmailAddress"", checked: true });
        $(""#maxSuggestionCount"").ejNumericTextbox({ name: ""maxSuggestionCount"", value: 6, width: 110, change: ""maxSuggestionChange"" });
        $(""#ignoreWordsDropDown"").ejDropDownList({
            dataSource: ignoreWordsData,
            fields: { text: ""word"" },
            watermarkText: ""Select your ignore words"",
            showCheckbox: true,
            width: ""100%"",
            change: ""addIgnoreWords""
        });
        
        if (ej.browserInfo().name === ""msie"")
            document.execCommand(""AutoUrlDetect"", false, false);

        function changeErrorHighlight(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ misspellWordCss: args.value });
        }
        function ignoreAlphaNumericWords(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreAlphaNumericWords: args.isChecked } });
        }
        function ignoreUrl(args) {
            $(""#SpellCheckDialog"").ejSpellC");
                WriteLiteral(@"heck({ ignoreSettings: { ignoreUrl: args.isChecked } });
        }
        function ignoreUpperCase(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreUpperCase: args.isChecked } });
        }
        function ignoreMixedCaseWords(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreMixedCaseWords: args.isChecked } });
        }
        function ignoreFileNames(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreFileNames: args.isChecked } });
        }
        function ignoreEmailAddress(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreEmailAddress: args.isChecked } });
        }
        function addIgnoreWords(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ ignoreWords: !ej.isNullOrUndefined(args.model.value) ? args.model.value.split("","") : [] });
        }
        function maxSuggestionChange(args) {
            $(""#SpellCheckDialog"").ejSpellCheck({ maxSugge");
                WriteLiteral("stionCount: args.value });\r\n        }\r\n        function showInContextMenu() {\r\n            var spellObj = $(\"#SpellCheckDialog\").data(\"ejSpellCheck\");\r\n            spellObj.validate();\r\n        }\r\n    </script>\r\n\r\n");
                EndContext();
            }
                          );
            BeginContext(8143, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 64, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">SpellCheck /Context Menu</span>\r\n");
                EndContext();
            }
                          );
            BeginContext(90, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(117, 684, true);
                WriteLiteral(@"
    <div id=""TextArea"" contenteditable=""true"">
        It is a concept vehicle with Liuid Silver body colour, 20-inch wheels, fabric foding roof, electrically-controlled hood,
        4-cylinder 2.0 TDI engine rated 204 PS (150 kW; 201 hp) and 400 (295.02 lbf ft), diesel particulate filter and Bluetec emission control system,
        quattro permanent four-wheel drve system, Audi S tronic dual-clutch gearbox, McPherson-strut front axle and a four-link rear axle, Audi drive select system with 3 modes (dynamic, sport, efficiency),
        MMI control panel with touch pad and dual-view technology, sound system with the proinent extending tweeters.
    </div><br />

    ");
                EndContext();
                BeginContext(801, 397, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spell-check", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e5d27d3471e4f508745d913d880e688", async() => {
                    BeginContext(872, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(882, 217, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dictionary-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9b2de2107b56444cb9fd80135a72c1b9", async() => {
                        BeginContext(1065, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckDictionarySettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckDictionarySettings);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.CustomDictionaryUrl = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.DictionaryUrl = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1099, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1109, 66, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "502a2045bd7a4349af1b48f6a8d1fc69", async() => {
                        BeginContext(1148, 1, true);
                        WriteLiteral(" ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SpellContextSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellContextSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellContextSettings);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\ContextMenu.cshtml"
                    __Syncfusion_JavaScript_Models_SpellContextSettings.Enable = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_SpellContextSettings.Enable, 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(1175, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SpellCheckProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_SpellCheckProperties.ControlsToValidate = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1198, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1204, 95, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7c553aeceb0643318bddd4ee4b61fa59", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_ButtonProperties.Height = (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(1299, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
            }
                          );
            BeginContext(1306, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(1331, 205, true);
                WriteLiteral("\r\n    <script type=\"text/javascript\">\r\n        function showDialog() {\r\n            var spellObj = $(\"#SpellCheckDialog\").data(\"ejSpellCheck\");\r\n            spellObj.validate();\r\n        }\r\n    </script>\r\n");
                EndContext();
            }
                          );
            BeginContext(1539, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
        }