コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\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\Administrator\Desktop\ASP.NET core\HduIot\HduIot\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, 28, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "700ac83d0a18421dacc6ebe2758247f8", async() => {
                BeginContext(277, 2, true);
                WriteLiteral("账户");
                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(283, 14, true);
            WriteLiteral("</li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 297, "\"", 356, 1);
#line 7 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 305, ManageNavPages.ChangePasswordNavClass(ViewContext), 305, 51, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(357, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(358, 58, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a2e0b42f350d4282aee7d40cfd7f19f7", async() => {
                BeginContext(410, 2, true);
                WriteLiteral("密码");
                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(416, 7, true);
            WriteLiteral("</li>\r\n");
            EndContext();
#line 8 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(459, 11, true);
                WriteLiteral("        <li");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 470, "\"", 529, 1);
#line 10 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                WriteAttributeValue("", 478, ManageNavPages.ExternalLoginsNavClass(ViewContext), 478, 51, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(530, 1, true);
                WriteLiteral(">");
                EndContext();
                BeginContext(531, 61, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "801ce79ce22e4dc4a282d1404c0089ad", async() => {
                    BeginContext(582, 6, true);
                    WriteLiteral("其他账户登录");
                    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(592, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 11 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(606, 7, true);
            WriteLiteral("    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 613, "\"", 681, 1);
#line 12 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 621, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 621, 60, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(682, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(683, 48, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "42c39c8c1a8845908c78eff3bcd73f74", async() => {
                BeginContext(723, 4, true);
                WriteLiteral("双重认证");
                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(731, 14, true);
            WriteLiteral("</li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 745, "\"", 802, 1);
#line 13 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 753, ManageNavPages.PersonalDataNavClass(ViewContext), 753, 49, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(803, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(804, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "df920073670142ca99f10cf818beb4a3", async() => {
                BeginContext(833, 4, true);
                WriteLiteral("个人资料");
                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(841, 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\Administrator\Desktop\ASP.NET core\HduIot\HduIot\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\Administrator\Desktop\ASP.NET core\HduIot\HduIot\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, 28, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5ed08d82e6c04ad8b636b04e54adfb56", async() => {
                BeginContext(277, 2, true);
                WriteLiteral("账户");
                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(283, 14, true);
            WriteLiteral("</li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 297, "\"", 356, 1);
#line 7 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 305, ManageNavPages.ChangePasswordNavClass(ViewContext), 305, 51, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(357, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(358, 58, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "154904f000464d7492c865d03ed5deb4", async() => {
                BeginContext(410, 2, true);
                WriteLiteral("密码");
                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(416, 7, true);
            WriteLiteral("</li>\r\n");
            EndContext();
#line 8 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            if (hasExternalLogins)
            {
#line default
#line hidden
                BeginContext(459, 11, true);
                WriteLiteral("        <li");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 470, "\"", 529, 1);
#line 10 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
                WriteAttributeValue("", 478, ManageNavPages.ExternalLoginsNavClass(ViewContext), 478, 51, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(530, 1, true);
                WriteLiteral(">");
                EndContext();
                BeginContext(531, 61, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "af3bcd574a964847b756cb2439fa37f5", async() => {
                    BeginContext(582, 6, true);
                    WriteLiteral("其他账户登录");
                    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(592, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 11 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            }

#line default
#line hidden
            BeginContext(606, 7, true);
            WriteLiteral("    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 613, "\"", 681, 1);
#line 12 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 621, ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext), 621, 60, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(682, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(683, 48, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49ef8cc1d5ed49ca8048f85a74d552c9", async() => {
                BeginContext(723, 4, true);
                WriteLiteral("双重认证");
                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(731, 14, true);
            WriteLiteral("</li>\r\n    <li");
            EndContext();
            BeginWriteAttribute("class", " class=\"", 745, "\"", 802, 1);
#line 13 "C:\Users\Administrator\Desktop\ASP.NET core\HduIot\HduIot\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml"
            WriteAttributeValue("", 753, ManageNavPages.PersonalDataNavClass(ViewContext), 753, 49, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(803, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(804, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5273f58a5d94d13a7a90f4f48298522", async() => {
                BeginContext(833, 4, true);
                WriteLiteral("个人资料");
                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(841, 14, true);
            WriteLiteral("</li>\r\n</ul>\r\n");
            EndContext();
        }