示例#1
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "main");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "ul");
            __builder.AddAttribute(4, "class", "pizza-cards");
            __builder.AddMarkupContent(5, "\r\n");
#line 8 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
            if (specials != null)
            {
#line default
#line hidden
#line 10 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                foreach (var special in specials)
                {
#line default
#line hidden
                    __builder.AddContent(6, "                ");
                    __builder.OpenElement(7, "li");
                    __builder.AddAttribute(8, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 12 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                                                                                                                                                           () => OrderState.ShowConfigurePizzaDialog(special)

#line default
#line hidden
                                                                                                                                                                           ));
                    __builder.AddAttribute(9, "style", "background-image:" + " url(\'" + (
#line 12 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                               special.ImageUrl

#line default
#line hidden
                                               ) + "\')");
                    __builder.AddMarkupContent(10, "\r\n                    ");
                    __builder.OpenElement(11, "div");
                    __builder.AddAttribute(12, "class", "pizza-info");
                    __builder.AddMarkupContent(13, "\r\n                        ");
                    __builder.OpenElement(14, "span");
                    __builder.AddAttribute(15, "class", "title");
                    __builder.AddContent(16,
#line 14 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                         special.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(17, "\r\n                        ");
                    __builder.AddContent(18,
#line 15 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                         special.Description

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(19, "\r\n                        ");
                    __builder.OpenElement(20, "span");
                    __builder.AddAttribute(21, "class", "price");
                    __builder.AddContent(22,
#line 16 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                         special.GetFormattedBasePrice()

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(23, "\r\n                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(24, "\r\n                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(25, "\r\n");
#line 19 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                }

#line default
#line hidden
#line 19 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
            }

#line default
#line hidden
            __builder.AddContent(26, "    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(27, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(28, "\r\n\r\n");
            __builder.OpenElement(29, "div");
            __builder.AddAttribute(30, "class", "sidebar");
            __builder.AddMarkupContent(31, "\r\n");
#line 25 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
            if (OrderState.Order.Pizzas.Any())
            {
#line default
#line hidden
                __builder.AddContent(32, "        ");
                __builder.OpenElement(33, "div");
                __builder.AddAttribute(34, "class", "order-contents");
                __builder.AddMarkupContent(35, "\r\n            ");
                __builder.AddMarkupContent(36, "<h2>Your order</h2>\r\n\r\n");
#line 30 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                foreach (var configuredPizza in OrderState.Order.Pizzas)
                {
#line default
#line hidden
                    __builder.AddContent(37, "                ");
                    __builder.OpenComponent <BlazingPizza.Client.Shared.ConfiguredPizzaItem>(38);
                    __builder.AddAttribute(39, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 32 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                               configuredPizza

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(40, "OnRemoved", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 32 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                                                                                                                                                                                                                                   () => OrderState.RemoveConfiguredPizza(configuredPizza)

#line default
#line hidden
                                                                                                                                                                                                                                                   )));
                    __builder.CloseComponent();
                    __builder.AddMarkupContent(41, "\r\n");
#line 33 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                }

#line default
#line hidden
                __builder.AddContent(42, "        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(43, "\r\n");
#line 35 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(44, "        ");
                __builder.AddMarkupContent(45, "<div class=\"empty-cart\">Choose a pizza<br>to get started</div>\r\n");
#line 39 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(46, "\r\n    ");
            __builder.OpenElement(47, "div");
            __builder.AddAttribute(48, "class", "order-total" + " " + (
#line 41 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                       OrderState.Order.Pizzas.Any() ? "" : "hidden"

#line default
#line hidden
                                       ));
            __builder.AddMarkupContent(49, "\r\n        Total:\r\n        ");
            __builder.OpenElement(50, "span");
            __builder.AddAttribute(51, "class", "total-price");
            __builder.AddContent(52,
#line 43 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                 OrderState.Order.GetFormattedTotalPrice()

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(53, "\r\n        ");
            __builder.OpenElement(54, "a");
            __builder.AddAttribute(55, "href", "checkout");
            __builder.AddAttribute(56, "class", "btn btn-warning");
            __builder.AddAttribute(57, "disabled",
#line 44 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                   OrderState.Order.Pizzas.Count == 0

#line default
#line hidden
                                   );
            __builder.AddMarkupContent(58, "\r\n            Order >\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(59, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(60, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(61, "\r\n\r\n");
#line 50 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
            if (OrderState.ShowingConfigureDialog)
            {
#line default
#line hidden
                __builder.AddContent(62, "    ");
                __builder.OpenComponent <BlazingPizza.Client.Shared.ConfigurePizzaDialog>(63);
                __builder.AddAttribute(64, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 52 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                           OrderState.ConfiguringPizza

#line default
#line hidden
                                           ));
                __builder.AddAttribute(65, "OnCancel", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 53 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                                                                                                                                                                                                                              OrderState.CancelConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                              )));
                __builder.AddAttribute(66, "OnConfirm", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 54 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
                                                                                                                                                                                                                                               OrderState.ConfirmConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                               )));
                __builder.CloseComponent();
                __builder.AddMarkupContent(67, "\r\n");
#line 55 "/Users/kp/Development/blazor-workshop/save-points/00-Starting-point/BlazingPizza.Client/Pages/Index.razor"
            }

#line default
#line hidden
        }
示例#2
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "main");
            __builder.AddMarkupContent(2, "\n    ");
            __builder.OpenElement(3, "ul");
            __builder.AddAttribute(4, "class", "pizza-cards");
            __builder.AddMarkupContent(5, "\n");
#line 9 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
            if (specials != null)
            {
#line default
#line hidden
#line 11 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                foreach (var special in specials)
                {
#line default
#line hidden
                    __builder.OpenElement(6, "li");
                    __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 13 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                           () => OrderState.ShowConfigurePizzaDialog(special)

#line default
#line hidden
                                                                                                                                                                           ));
                    __builder.AddAttribute(8, "style", "background-image:" + " url(\'" + (
#line 13 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                               special.ImageUrl

#line default
#line hidden
                                               ) + "\')");
                    __builder.AddMarkupContent(9, "\n    ");
                    __builder.OpenElement(10, "div");
                    __builder.AddAttribute(11, "class", "pizza-info");
                    __builder.AddMarkupContent(12, "\n        ");
                    __builder.OpenElement(13, "span");
                    __builder.AddAttribute(14, "class", "title");
                    __builder.AddContent(15,
#line 15 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                         special.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(16, "\n        ");
                    __builder.AddContent(17,
#line 16 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                         special.Description

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(18, "\n        ");
                    __builder.OpenElement(19, "span");
                    __builder.AddAttribute(20, "class", "price");
                    __builder.AddContent(21,
#line 17 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                         special.GetFormattedBasePrice()

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(22, "\n    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(23, "\n");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(24, "\n");
#line 20 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                }

#line default
#line hidden
#line 20 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
            }

#line default
#line hidden
            __builder.AddContent(25, "    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(26, "\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(27, "\n\n");
            __builder.OpenElement(28, "div");
            __builder.AddAttribute(29, "class", "sidebar");
            __builder.AddMarkupContent(30, "\n");
#line 25 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
            if (Order.Pizzas.Any())
            {
#line default
#line hidden
                __builder.OpenElement(31, "div");
                __builder.AddAttribute(32, "class", "order-contents");
                __builder.AddMarkupContent(33, "\n    ");
                __builder.AddMarkupContent(34, "<h2>Your order</h2>\n\n");
#line 30 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                foreach (var configuredPizza in Order.Pizzas)
                {
#line default
#line hidden
                    __builder.OpenComponent <BlazingPizza.Client.Shared.ConfiguredPizzaItem>(35);
                    __builder.AddAttribute(36, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 32 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                               configuredPizza

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(37, "OnRemoved", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 32 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                                                                                                   () => RemovePizza(configuredPizza)

#line default
#line hidden
                                                                                                                                                                                                                                                   )));
                    __builder.CloseComponent();
#line 32 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                }

#line default
#line hidden
                __builder.CloseElement();
                __builder.AddContent(38, " ");
#line 33 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddMarkupContent(39, "<div class=\"empty-cart\">Choose a pizza<br>to get started</div>");
#line 36 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(40, "\n    ");
            __builder.OpenElement(41, "div");
            __builder.AddAttribute(42, "class", "order-total" + " " + (
#line 38 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                       Order.Pizzas.Any() ? "" : "hidden"

#line default
#line hidden
                                       ));
            __builder.AddMarkupContent(43, "\n        Total:\n        ");
            __builder.OpenElement(44, "span");
            __builder.AddAttribute(45, "class", "total-price");
            __builder.AddContent(46,
#line 40 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                 Order.GetFormattedTotalPrice()

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(47, "\n        ");
            __builder.OpenElement(48, "a");
            __builder.AddAttribute(49, "href", "checkout");
            __builder.AddAttribute(50, "class",
#line 41 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                   Order.Pizzas.Count == 0 ? "btn btn-warning disabled" : "btn btn-warning"

#line default
#line hidden
                                   );
            __builder.AddMarkupContent(51, "\n            Order >\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(52, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(53, "\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(54, "\n\n");
            __builder.OpenComponent <BlazingComponents.TemplatedDialog>(55);
            __builder.AddAttribute(56, "Show", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 47 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                       OrderState.ShowingConfigureDialog

#line default
#line hidden
                                       ));
            __builder.AddAttribute(57, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(58, "\n    ");
                __builder2.OpenComponent <BlazingPizza.Client.Shared.ConfigurePizzaDialog>(59);
                __builder2.AddAttribute(60, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 48 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                            OrderState.ConfiguringPizza

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(61, "OnCancel", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 49 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                                                                                               OrderState.CancelConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                               )));
                __builder2.AddAttribute(62, "OnConfirm", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 50 "D:\Radu's Files\Blazor\Github Pages\webassembly-pizza-store\src\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                                                                                                OrderState.ConfirmConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                                )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(63, "\n");
            }
                                                                                                        ));
            __builder.CloseComponent();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "main");
            __builder.OpenElement(2, "ul");
            __builder.AddAttribute(3, "class", "pizza-cards");
#line 9 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
            if (specials != null)
            {
#line default
#line hidden
#line 11 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                foreach (var special in specials)
                {
#line default
#line hidden
                    __builder.OpenComponent <BlazingPizza.Shared.PizzaSpecialCard>(4);
                    __builder.AddAttribute(5, "PizzaSpecial", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.PizzaSpecial>(
#line 13 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                               special

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(6, "OnClick", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 13 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                                                                                                                                                                                                                                () => OrderState.ShowConfigurePizzaDialog(special)

#line default
#line hidden
                                                                                                                                                                                                                                                )));
                    __builder.CloseComponent();
#line 14 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                }

#line default
#line hidden
#line 14 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
            }

#line default
#line hidden
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(7, "\n\n");
            __builder.OpenElement(8, "div");
            __builder.AddAttribute(9, "class", "sidebar");
#line 20 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
            if (OrderState.Order.Pizzas.Any())
            {
#line default
#line hidden
                __builder.OpenElement(10, "div");
                __builder.AddAttribute(11, "class", "order-contents");
                __builder.AddMarkupContent(12, "<h2>Your order</h2>");
#line 25 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                foreach (var configuredPizza in OrderState.Order.Pizzas)
                {
#line default
#line hidden
                    __builder.OpenComponent <BlazingPizza.Shared.ConfiguredPizzaItem>(13);
                    __builder.AddAttribute(14, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 27 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                               configuredPizza

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(15, "OnRemoved", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 27 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                                                                                                                                                                                                                                   () => OrderState.RemoveConfiguredPizza(configuredPizza)

#line default
#line hidden
                                                                                                                                                                                                                                                   )));
                    __builder.CloseComponent();
#line 28 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                }

#line default
#line hidden
                __builder.CloseElement();
#line 30 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddMarkupContent(16, "<div class=\"empty-cart\">Choose a pizza<br>to get started</div>");
#line 34 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
            }

#line default
#line hidden
            __builder.OpenElement(17, "div");
            __builder.AddAttribute(18, "class", "order-total" + " " + (
#line 36 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                       OrderState.Order.Pizzas.Any() ? "" : "hidden"

#line default
#line hidden
                                       ));
            __builder.AddMarkupContent(19, "\n        Total:\n        ");
            __builder.OpenElement(20, "span");
            __builder.AddAttribute(21, "class", "total-price");
            __builder.AddContent(22,
#line 38 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                 OrderState.Order.GetFormattedTotalPrice()

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(23, "\n        ");
            __builder.OpenElement(24, "button");
            __builder.AddAttribute(25, "class", "btn btn-warning");
            __builder.AddAttribute(26, "disabled",
#line 39 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                   OrderState.Order.Pizzas.Count == 0

#line default
#line hidden
                                   );
            __builder.AddAttribute(27, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 39 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                                                                                                                                                    (() => PlaceOrder())

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(28, "\n            Order >\n        ");
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(29, "\n\n");
            __builder.OpenComponent <BlazingPizza.ComponentsLibrary.TemplatedDialog>(30);
            __builder.AddAttribute(31, "Show", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 45 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                       OrderState.ShowingConfigureDialog

#line default
#line hidden
                                       ));
            __builder.AddAttribute(32, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.OpenComponent <BlazingPizza.Shared.ConfigurePizzaDialog>(33);
                __builder2.AddAttribute(34, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 47 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                            OrderState.ConfiguringPizza

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(35, "OnCancel", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 48 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                                                                                                                                                                                                                               OrderState.CancelConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                               )));
                __builder2.AddAttribute(36, "OnConfirm", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 49 "D:\WorkingFolder\POCs\zips\BlazingPizza\BlazingPizza\Pages\Index.razor"
                                                                                                                                                                                                                                                OrderState.ConfirmConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                                )));
                __builder2.CloseComponent();
            }
                                                                                                        ));
            __builder.CloseComponent();
        }