예제 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(43, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_CookieConsentPartial.cshtml"

            var consentFeature = Context.Features.Get <ITrackingConsentFeature>();
            var showBanner     = !consentFeature?.CanTrack ?? false;
            var cookieString   = consentFeature?.CreateConsentCookie();

#line default
#line hidden
            BeginContext(248, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_CookieConsentPartial.cshtml"
            if (showBanner)
            {
#line default
#line hidden
                BeginContext(271, 168, true);
                WriteLiteral("    <div id=\"cookieConsent\" class=\"alert alert-info alert-dismissible fade show\" role=\"alert\">\r\n        Use this space to summarize your privacy and cookie use policy. ");
                EndContext();
                BeginContext(439, 72, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d4fdc3d9e6bc2a119e86fb23894c311b8c5abaf67269", async() => {
                    BeginContext(497, 10, true);
                    WriteLiteral("Learn More");
                    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.Area = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (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(511, 11, true);
                WriteLiteral(".\r\n        ");
                EndContext();
                BeginContext(522, 196, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d4fdc3d9e6bc2a119e86fb23894c311b8c5abaf69060", async() => {
                    BeginContext(647, 62, true);
                    WriteLiteral("\r\n            <span aria-hidden=\"true\">Accept</span>\r\n        ");
                    EndContext();
                }
                                                                            );
                __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Buttons.ButtonTagHelper>();
                __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Buttons_ButtonTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                BeginWriteTagHelperAttribute();
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_CookieConsentPartial.cshtml"
                Write(cookieString);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("data-cookie-string", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(718, 330, true);
                WriteLiteral(@"
    </div>
    <script>
        (function () {
            var button = document.querySelector(""#cookieConsent button[data-cookie-string]"");
            button.addEventListener(""click"", function (event) {
                document.cookie = button.dataset.cookieString;
            }, false);
        })();
    </script>
");
                EndContext();
#line 25 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_CookieConsentPartial.cshtml"
            }

#line default
#line hidden
        }
예제 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(136, 27, true);
            WriteLiteral("\r\n<ul class=\"navbar-nav\">\r\n");
            EndContext();
#line 6 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_LoginPartial.cshtml"
            if (SignInManager.IsSignedIn(User))
            {
#line default
#line hidden
                BeginContext(212, 35, true);
                WriteLiteral("    <li class=\"nav-item\">\r\n        ");
                EndContext();
                BeginContext(247, 128, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a1988ffe37b84e56628f7e4319ddc1c3dd90e528067", async() => {
                    BeginContext(345, 6, true);
                    WriteLiteral("Hello ");
                    EndContext();
                    BeginContext(352, 18, false);
#line 9 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_LoginPartial.cshtml"
                    Write(User.Identity.Name);

#line default
#line hidden
                    EndContext();
                    BeginContext(370, 1, 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_0);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(375, 56, true);
                WriteLiteral("\r\n    </li>\r\n        <li class=\"nav-item\">\r\n            ");
                EndContext();
                BeginContext(431, 259, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a1988ffe37b84e56628f7e4319ddc1c3dd90e5210334", async() => {
                    BeginContext(574, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(592, 77, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a1988ffe37b84e56628f7e4319ddc1c3dd90e5210733", async() => {
                        BeginContext(654, 6, true);
                        WriteLiteral("Logout");
                        EndContext();
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Buttons.ButtonTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Buttons_ButtonTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(669, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                __BSolutions_Bocons_Controls_Forms_FormTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Forms.FormTagHelper>();
                __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Forms_FormTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Area = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Page = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 12 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_LoginPartial.cshtml"
                WriteLiteral(Url.Action("Index", "Home", new { area = "" }));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(690, 17, true);
                WriteLiteral("\r\n        </li>\r\n");
                EndContext();
#line 16 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_LoginPartial.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(731, 43, true);
                WriteLiteral("        <li class=\"nav-item\">\r\n            ");
                EndContext();
                BeginContext(774, 91, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a1988ffe37b84e56628f7e4319ddc1c3dd90e5215380", async() => {
                    BeginContext(853, 8, true);
                    WriteLiteral("Register");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(865, 60, true);
                WriteLiteral("\r\n        </li>\r\n        <li class=\"nav-item\">\r\n            ");
                EndContext();
                BeginContext(925, 85, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a1988ffe37b84e56628f7e4319ddc1c3dd90e5217098", async() => {
                    BeginContext(1001, 5, true);
                    WriteLiteral("Login");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __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(1010, 17, true);
                WriteLiteral("\r\n        </li>\r\n");
                EndContext();
#line 25 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\Shared\_LoginPartial.cshtml"
            }

#line default
#line hidden
            BeginContext(1034, 5, true);
            WriteLiteral("</ul>");
            EndContext();
        }
예제 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(114, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"

            ViewData["Title"] = "Show";

#line default
#line hidden
            BeginContext(156, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(158, 63, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("h1", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c25371", async() => {
                BeginContext(194, 22, false);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                Write(Model.First().Category);

#line default
#line hidden
                EndContext();
            }
                                                                        );
            __GuitarProjectWebsite_TagHelpers_IfTagHelper = CreateTagHelper <global::GuitarProjectWebsite.TagHelpers.IfTagHelper>();
            __tagHelperExecutionContext.Add(__GuitarProjectWebsite_TagHelpers_IfTagHelper);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
            __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate = Model.ToList().Any();

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("asp-if", __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(221, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
#line 10 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(258, 355, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c27305", async() => {
                    BeginContext(285, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(291, 121, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f99acfc7617e7789146bee24bca3b89f146d55c27691", async() => {
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardImageTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardImageTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    BeginWriteTagHelperAttribute();
                    WriteLiteral("data:image/jpeg;base64,");
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                    WriteLiteral(Convert.ToBase64String(item.Image));

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("src", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position = global::BSolutions.Bocons.Enumerations.CardImagePosition.Bottom;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-position", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(412, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(418, 186, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c210163", async() => {
                        BeginContext(451, 27, true);
                        WriteLiteral("\r\n        <p>\r\n            ");
                        EndContext();
                        BeginContext(479, 16, false);
#line 16 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                        Write(item.Description);

#line default
#line hidden
                        EndContext();
                        BeginContext(495, 24, true);
                        WriteLiteral("\r\n        </p>\r\n        ");
                        EndContext();
                        BeginContext(519, 67, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c211014", async() => {
                            BeginContext(560, 22, true);
                            WriteLiteral("Visit producer website");
                            EndContext();
                        }
                                                                                    );
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Buttons.ButtonTagHelper>();
                        __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Buttons_ButtonTagHelper);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "href", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                        AddHtmlAttributeValue("", 528, item.Website, 528, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("bc-button", __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(586, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardBodyTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardBodyTagHelper);
                    BeginWriteTagHelperAttribute();
#line 14 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                    WriteLiteral(item.Name);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-title", __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(604, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __BSolutions_Bocons_Controls_Card_CardTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardTagHelper>();
                __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(613, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 21 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
            }

#line default
#line hidden
        }
예제 #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(114, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"

            ViewData["Title"] = "Show";

#line default
#line hidden
            BeginContext(156, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(158, 63, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("h1", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e5380", async() => {
                BeginContext(194, 22, false);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                Write(Model.First().Category);

#line default
#line hidden
                EndContext();
            }
                                                                        );
            __GuitarProjectWebsite_TagHelpers_IfTagHelper = CreateTagHelper <global::GuitarProjectWebsite.TagHelpers.IfTagHelper>();
            __tagHelperExecutionContext.Add(__GuitarProjectWebsite_TagHelpers_IfTagHelper);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
            __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate = Model.ToList().Any();

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("asp-if", __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(221, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
#line 10 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(258, 4, true);
                WriteLiteral("    ");
                EndContext();
                BeginContext(262, 386, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e7420", async() => {
                    BeginContext(289, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(299, 120, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a133580585c39e2ae8b6a0990b5341e0c474c76e7811", async() => {
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardImageTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardImageTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    BeginWriteTagHelperAttribute();
                    WriteLiteral("data:image/jpeg;base64,");
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                    WriteLiteral(Convert.ToBase64String(item.Image));

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("src", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position = global::BSolutions.Bocons.Enumerations.CardImagePosition.Bottom;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-position", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(419, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(429, 206, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e10294", async() => {
                        BeginContext(462, 35, true);
                        WriteLiteral("\r\n            <p>\r\n                ");
                        EndContext();
                        BeginContext(498, 16, false);
#line 16 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                        Write(item.Description);

#line default
#line hidden
                        EndContext();
                        BeginContext(514, 32, true);
                        WriteLiteral("\r\n            </p>\r\n            ");
                        EndContext();
                        BeginContext(546, 67, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e11166", async() => {
                            BeginContext(587, 22, true);
                            WriteLiteral("Visit producer website");
                            EndContext();
                        }
                                                                                    );
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Buttons.ButtonTagHelper>();
                        __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Buttons_ButtonTagHelper);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "href", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                        AddHtmlAttributeValue("", 555, item.Website, 555, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("bc-button", __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(613, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardBodyTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardBodyTagHelper);
                    BeginWriteTagHelperAttribute();
#line 14 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                    WriteLiteral(item.Name);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-title", __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(635, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __BSolutions_Bocons_Controls_Card_CardTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardTagHelper>();
                __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(648, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 21 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
            }

#line default
#line hidden
        }