예제 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"

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

#line default
#line hidden
            BeginContext(148, 65, true);
            WriteLiteral("<ul class=\"nav nav-pills flex-column\">\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(213, 106, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "512e2abcb33f8a452de9f6fdf6a20cf6ea7340718033", async() => {
                BeginContext(308, 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("", 223, "nav-link", 223, 8, true);
#line 6 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 231, ManageNavPages.IndexNavClass(ViewContext), 232, 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(319, 32, true);
            WriteLiteral("</li>\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(351, 133, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "512e2abcb33f8a452de9f6fdf6a20cf6ea73407110055", async() => {
                BeginContext(472, 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("", 361, "nav-link", 361, 8, true);
#line 7 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 369, ManageNavPages.ChangePasswordNavClass(ViewContext), 370, 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(484, 7, true);
            WriteLiteral("</li>\r\n");
            EndContext();
#line 8 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(527, 50, true);
                WriteLiteral("        <li id=\"external-logins\" class=\"nav-item\">");
                EndContext();
                BeginContext(577, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "512e2abcb33f8a452de9f6fdf6a20cf6ea73407112387", async() => {
                    BeginContext(697, 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("", 607, "nav-link", 607, 8, true);
#line 10 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                AddHtmlAttributeValue(" ", 615, ManageNavPages.ExternalLoginsNavClass(ViewContext), 616, 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(716, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 11 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(730, 25, true);
            WriteLiteral("    <li class=\"nav-item\">");
            EndContext();
            BeginContext(755, 163, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "512e2abcb33f8a452de9f6fdf6a20cf6ea73407114673", async() => {
                BeginContext(889, 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("", 765, "nav-link", 765, 8, true);
#line 12 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 773, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 774, 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(918, 32, true);
            WriteLiteral("</li>\r\n    <li class=\"nav-item\">");
            EndContext();
            BeginContext(950, 132, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "512e2abcb33f8a452de9f6fdf6a20cf6ea73407116734", async() => {
                BeginContext(1065, 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("", 960, "nav-link", 960, 8, true);
#line 13 "D:\C#\Projects\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            AddHtmlAttributeValue(" ", 968, ManageNavPages.PersonalDataNavClass(ViewContext), 969, 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(1082, 14, true);
            WriteLiteral("</li>\r\n</ul>\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\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 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 211, ManageNavPages.IndexNavClass(ViewContext), 211, 42, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(254, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(255, 33, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "da1e911e26804f638166f2f872f88ad2", async() => {
                BeginContext(277, 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(288, 14, true);
            WriteLiteral("</li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 302, "\"", 361, 1);
#line 7 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 310, ManageNavPages.ChangePasswordNavClass(ViewContext), 310, 51, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(362, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(363, 64, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b6fd6b23e7e842f7bfc56162888e987c", async() => {
                BeginContext(415, 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(427, 7, true);
            WriteLiteral("</li>\r\n");
            EndContext();
#line 8 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(470, 11, true);
                WriteLiteral("        <li");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 481, "\"", 540, 1);
#line 10 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                WriteAttributeValue("", 489, ManageNavPages.ExternalLoginsNavClass(ViewContext), 489, 51, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(541, 1, true);
                WriteLiteral(">");
                EndContext();
                BeginContext(542, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b1ed14f8ded14fefbe9ddfa5da1a0086", async() => {
                    BeginContext(593, 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_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(612, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 11 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(626, 7, true);
            WriteLiteral("    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 633, "\"", 701, 1);
#line 12 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 641, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 641, 60, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(702, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(703, 69, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9899d3cbe1be4f8492268c158490de59", async() => {
                BeginContext(743, 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_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(772, 14, true);
            WriteLiteral("</li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 786, "\"", 843, 1);
#line 13 "C:\Users\HP-NPC\source\repos\IdentityDemo\IdentityDemo\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 794, ManageNavPages.PersonalDataNavClass(ViewContext), 794, 49, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(844, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(845, 46, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "88e70e6e751443b58d97688f8dd698bb", async() => {
                BeginContext(874, 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_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(891, 14, true);
            WriteLiteral("</li>\r\n</ul>\r\n");
            EndContext();
        }