예제 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"

            var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();

#line default
#line hidden
            BeginContext(156, 55, true);
            WriteLiteral("    <ul class=\"nav nav-pills nav-stacked\">\r\n        <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 211, "\"", 261, 1);
#line 6 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 219, ManageNavPages.IndexNavClass(ViewContext), 219, 42, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(262, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(263, 33, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "86ee613f5b8046618ce7712a84bf8021", async() => {
                BeginContext(285, 7, true);
                WriteLiteral("Profile");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(296, 18, true);
            WriteLiteral("</li>\r\n        <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 314, "\"", 373, 1);
#line 7 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 322, ManageNavPages.ChangePasswordNavClass(ViewContext), 322, 51, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(374, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(375, 64, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a2396f1402184936b3847b7d74a14d3b", async() => {
                BeginContext(427, 8, true);
                WriteLiteral("Password");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(439, 18, true);
            WriteLiteral("</li>\r\n        <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 457, "\"", 512, 1);
#line 8 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 465, ManageNavPages.YourOrdersNavClass(ViewContext), 465, 47, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(513, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(514, 59, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e3465cf0bfdc497eb92482df14a16a66", async() => {
                BeginContext(558, 11, true);
                WriteLiteral("Your Orders");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(573, 7, true);
            WriteLiteral("</li>\r\n");
            EndContext();
#line 9 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(624, 15, true);
                WriteLiteral("            <li");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 639, "\"", 698, 1);
#line 11 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                WriteAttributeValue("", 647, ManageNavPages.ExternalLoginsNavClass(ViewContext), 647, 51, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(699, 1, true);
                WriteLiteral(">");
                EndContext();
                BeginContext(700, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a312d163a614b4389b58c6d7846573f", async() => {
                    BeginContext(751, 15, true);
                    WriteLiteral("External logins");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(770, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 12 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(788, 11, true);
            WriteLiteral("        <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 799, "\"", 867, 1);
#line 13 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 807, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 807, 60, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(868, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(869, 69, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f84aac8a632d477fa496fe64255428a5", async() => {
                BeginContext(909, 25, true);
                WriteLiteral("Two-factor authentication");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_7.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(938, 18, true);
            WriteLiteral("</li>\r\n        <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 956, "\"", 1013, 1);
#line 14 "D:\Study\Visual Project\ASP.NET\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 964, ManageNavPages.PersonalDataNavClass(ViewContext), 964, 49, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1014, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(1015, 46, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20b1692cc48b418bb4c920c6f9b2e7ff", async() => {
                BeginContext(1044, 13, true);
                WriteLiteral("Personal data");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(1061, 18, true);
            WriteLiteral("</li>\r\n    </ul>\r\n");
            EndContext();
        }
예제 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"

            var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();

#line default
#line hidden
            BeginContext(156, 47, true);
            WriteLiteral("<ul class=\"nav nav-pills nav-stacked\">\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 203, "\"", 253, 1);
#line 6 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 211, ManageNavPages.IndexNavClass(ViewContext), 211, 42, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(254, 3, true);
            WriteLiteral("><a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 257, "\"", 325, 1);
#line 6 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 264, Url.Page("/Account/Manage/Index", new { area = "Identity" }), 264, 61, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(326, 27, true);
            WriteLiteral(" >Profile</a></li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 353, "\"", 405, 1);
#line 7 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 361, ManageNavPages.YourOrdersClass(ViewContext), 361, 44, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(406, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(407, 108, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bd9f640174c74097adb9b8adf097e0c8", async() => {
                BeginContext(500, 11, true);
                WriteLiteral("Your Orders");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (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(515, 14, true);
            WriteLiteral("</li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 529, "\"", 588, 1);
#line 8 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 537, ManageNavPages.ChangePasswordNavClass(ViewContext), 537, 51, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(589, 24, true);
            WriteLiteral("><a id=\"change-password\"");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 613, "\"", 690, 1);
#line 8 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 620, Url.Page("/Account/Manage/ChangePassword", new { area = "Identity" }), 620, 70, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(691, 20, true);
            WriteLiteral(">Password</a></li>\r\n");
            EndContext();
#line 9 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(747, 11, true);
                WriteLiteral("        <li");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 758, "\"", 817, 1);
#line 11 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                WriteAttributeValue("", 766, ManageNavPages.ExternalLoginsNavClass(ViewContext), 766, 51, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(818, 23, true);
                WriteLiteral("><a id=\"external-login\"");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 841, "\"", 918, 1);
#line 11 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                WriteAttributeValue("", 848, Url.Page("/Account/Manage/ExternalLogins", new { area = "Identity" }), 848, 70, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(919, 27, true);
                WriteLiteral(">External logins</a></li>\r\n");
                EndContext();
#line 12 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(953, 7, true);
            WriteLiteral("    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 960, "\"", 1028, 1);
#line 13 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 968, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 968, 60, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1029, 3, true);
            WriteLiteral("><a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 1032, "\"", 1118, 1);
#line 13 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 1039, Url.Page("/Account/Manage/TwoFactorAuthentication", new { area = "Identity" }), 1039, 79, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1119, 44, true);
            WriteLiteral(">Two-factor authentication</a></li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 1163, "\"", 1220, 1);
#line 14 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 1171, ManageNavPages.PersonalDataNavClass(ViewContext), 1171, 49, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1221, 3, true);
            WriteLiteral("><a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 1224, "\"", 1299, 1);
#line 14 "D:\Coding\ASP.NET\Backup\ElectronicStore1707\ElectronicStore\ElectronicStore\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 1231, Url.Page("/Account/Manage/PersonalData", new { area = "Identity" }), 1231, 68, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1300, 32, true);
            WriteLiteral(">Personal data</a></li>\r\n</ul>\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(1349, 191, true);
                WriteLiteral(" \r\n    <script>\r\n        $(\"#orders\").on(\'click\', function () {\r\n            $(\'#orders\').removeClass(\'active\');\r\n            $(\"#oders\").addClass(\'active\');\r\n            });\r\n    </script>\r\n");
                EndContext();
            }
                          );
        }