コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\Max\source\repos\NackowskisMax\NackowskisMax\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\Max\source\repos\NackowskisMax\NackowskisMax\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, "e59008334d3441a8a9cbe270dcaf3bec", 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\Max\source\repos\NackowskisMax\NackowskisMax\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, "78e8236f7fa54de587e8d681f46d620c", 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\Max\source\repos\NackowskisMax\NackowskisMax\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\Max\source\repos\NackowskisMax\NackowskisMax\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, "b87e88870abb46448f77ef5887f87f17", 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\Max\source\repos\NackowskisMax\NackowskisMax\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\Max\source\repos\NackowskisMax\NackowskisMax\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, "af124e53bb7c4a15bb1eb8910d73072b", 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\Max\source\repos\NackowskisMax\NackowskisMax\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, "864dae489faf49c68774970e41706f59", 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();
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\Max\source\repos\NackowskisMax\NackowskisMax\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\Max\source\repos\NackowskisMax\NackowskisMax\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, "09002d8b268c4a9fa44e5fff0a88b88b", 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\Max\source\repos\NackowskisMax\NackowskisMax\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, "b4ff7fdae09f43a1a9d18acd4699e83b", 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\Max\source\repos\NackowskisMax\NackowskisMax\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\Max\source\repos\NackowskisMax\NackowskisMax\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, "2c13959e88194d72aef1aec8837c731b", 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\Max\source\repos\NackowskisMax\NackowskisMax\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\Max\source\repos\NackowskisMax\NackowskisMax\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, "07a9d62bfc6047d49350d374e28fbcca", 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\Max\source\repos\NackowskisMax\NackowskisMax\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, "ee7486967a33439594a4b416cacf906b", 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();
        }