Esempio n. 1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"

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

#line default
#line hidden
            BeginContext(156, 65, true);
            WriteLiteral("<ul class=\"nav nav-pills flex-column\">\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(221, 106, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e9da082267c8088a2b5fbd6f9546980fb5328137857", async() => {
                BeginContext(316, 7, true);
                WriteLiteral("Profile");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 231, "nav-link", 231, 8, true);
#line 6 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 239, ManageNavPages.IndexNavClass(ViewContext), 240, 42, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(327, 32, true);
            WriteLiteral("</li>\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(359, 133, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e9da082267c8088a2b5fbd6f9546980fb5328139880", async() => {
                BeginContext(480, 8, true);
                WriteLiteral("Password");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 369, "nav-link", 369, 8, true);
#line 7 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 377, ManageNavPages.ChangePasswordNavClass(ViewContext), 378, 51, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(492, 7, true);
            WriteLiteral("</li>\r\n");
            EndContext();
#line 8 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(535, 50, true);
                WriteLiteral("        <li id=\"external-logins\" class=\"nav-item\">");
                EndContext();
                BeginContext(585, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e9da082267c8088a2b5fbd6f9546980fb53281312213", async() => {
                    BeginContext(705, 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_4);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                AddHtmlAttributeValue("", 615, "nav-link", 615, 8, true);
#line 10 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                AddHtmlAttributeValue(" ", 623, ManageNavPages.ExternalLoginsNavClass(ViewContext), 624, 51, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(724, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 11 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(738, 25, true);
            WriteLiteral("    <li class=\"nav-item\">");
            EndContext();
            BeginContext(763, 163, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e9da082267c8088a2b5fbd6f9546980fb53281314501", async() => {
                BeginContext(897, 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);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 773, "nav-link", 773, 8, true);
#line 12 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 781, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 782, 60, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __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(926, 32, true);
            WriteLiteral("</li>\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(958, 132, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e9da082267c8088a2b5fbd6f9546980fb53281316563", async() => {
                BeginContext(1073, 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);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 968, "nav-link", 968, 8, true);
#line 13 "C:\Users\Cat\source\repos\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 976, ManageNavPages.PersonalDataNavClass(ViewContext), 977, 49, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(1090, 14, true);
            WriteLiteral("</li>\r\n</ul>\r\n");
            EndContext();
        }
Esempio n. 2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"

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

#line default
#line hidden
            BeginContext(151, 64, true);
            WriteLiteral("<ul class=\"nav nav-pills flex-column\">\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(215, 106, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d124e5262d983d547a53ee3a022b0648d6bff23b8490", async() => {
                BeginContext(310, 7, true);
                WriteLiteral("Profile");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 225, "nav-link", 225, 8, true);
#line 6 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 233, ManageNavPages.IndexNavClass(ViewContext), 234, 42, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(321, 31, true);
            WriteLiteral("</li>\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(352, 133, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d124e5262d983d547a53ee3a022b0648d6bff23b10579", async() => {
                BeginContext(473, 8, true);
                WriteLiteral("Password");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 362, "nav-link", 362, 8, true);
#line 7 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 370, ManageNavPages.ChangePasswordNavClass(ViewContext), 371, 51, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(485, 6, true);
            WriteLiteral("</li>\n");
            EndContext();
#line 8 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(525, 50, true);
                WriteLiteral("        <li id=\"external-logins\" class=\"nav-item\">");
                EndContext();
                BeginContext(575, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d124e5262d983d547a53ee3a022b0648d6bff23b13045", async() => {
                    BeginContext(695, 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_4);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                AddHtmlAttributeValue("", 605, "nav-link", 605, 8, true);
#line 10 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                AddHtmlAttributeValue(" ", 613, ManageNavPages.ExternalLoginsNavClass(ViewContext), 614, 51, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(714, 6, true);
                WriteLiteral("</li>\n");
                EndContext();
#line 11 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(726, 25, true);
            WriteLiteral("    <li class=\"nav-item\">");
            EndContext();
            BeginContext(751, 163, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d124e5262d983d547a53ee3a022b0648d6bff23b15466", async() => {
                BeginContext(885, 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);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 761, "nav-link", 761, 8, true);
#line 12 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 769, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 770, 60, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __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(914, 31, true);
            WriteLiteral("</li>\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(945, 132, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d124e5262d983d547a53ee3a022b0648d6bff23b17594", async() => {
                BeginContext(1060, 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);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 955, "nav-link", 955, 8, true);
#line 13 "C:\VISUALSTUDIOCODE\CODEBASE\AspNetCore.Docs-live\aspnetcore\security\authentication\add-user-data\sample-2.2\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 963, ManageNavPages.PersonalDataNavClass(ViewContext), 964, 49, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(1077, 12, true);
            WriteLiteral("</li>\n</ul>\n");
            EndContext();
        }
Esempio n. 3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"

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

#line default
#line hidden
            BeginContext(155, 65, true);
            WriteLiteral("<ul class=\"nav nav-pills flex-column\">\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(220, 106, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "86cfebdf126f23974a6a392574a2e2201a643f127955", async() => {
                BeginContext(315, 7, true);
                WriteLiteral("Profile");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 230, "nav-link", 230, 8, true);
#line 6 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 238, ManageNavPages.IndexNavClass(ViewContext), 239, 42, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(326, 32, true);
            WriteLiteral("</li>\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(358, 133, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "86cfebdf126f23974a6a392574a2e2201a643f129969", async() => {
                BeginContext(479, 8, true);
                WriteLiteral("Password");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 368, "nav-link", 368, 8, true);
#line 7 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 376, ManageNavPages.ChangePasswordNavClass(ViewContext), 377, 51, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(491, 7, true);
            WriteLiteral("</li>\r\n");
            EndContext();
#line 8 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(534, 50, true);
                WriteLiteral("        <li id=\"external-logins\" class=\"nav-item\">");
                EndContext();
                BeginContext(584, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "86cfebdf126f23974a6a392574a2e2201a643f1212284", async() => {
                    BeginContext(704, 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_4);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                AddHtmlAttributeValue("", 614, "nav-link", 614, 8, true);
#line 10 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                AddHtmlAttributeValue(" ", 622, ManageNavPages.ExternalLoginsNavClass(ViewContext), 623, 51, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(723, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 11 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(737, 25, true);
            WriteLiteral("    <li class=\"nav-item\">");
            EndContext();
            BeginContext(762, 163, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "86cfebdf126f23974a6a392574a2e2201a643f1214554", async() => {
                BeginContext(896, 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);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 772, "nav-link", 772, 8, true);
#line 12 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 780, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 781, 60, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __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(925, 32, true);
            WriteLiteral("</li>\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(957, 132, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "86cfebdf126f23974a6a392574a2e2201a643f1216607", async() => {
                BeginContext(1072, 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);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 967, "nav-link", 967, 8, true);
#line 13 "D:\Module 2\Test\WebApp1\WebApp1\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 975, ManageNavPages.PersonalDataNavClass(ViewContext), 976, 49, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (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(1089, 14, true);
            WriteLiteral("</li>\r\n</ul>\r\n");
            EndContext();
        }