Exemplo n.º 1
0
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
        {
            base.BuildRenderTree(builder);
            var n = OpenElementWithCommonAttributes(builder, "div");

            builder.AddContent(n++, ChildContent);
            builder.CloseElement();
        }
Exemplo n.º 2
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "opcionesMenu mt-4");
            __builder.AddMarkupContent(2, "\r\n\r\n        ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(3);
            __builder.AddAttribute(4, "class", "nav-link");
            __builder.AddAttribute(5, "href", "BackOffice/Produccion/PedidosAProducir");
            __builder.AddAttribute(6, "Match", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.Routing.NavLinkMatch>(
#line 7 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Produccion\MenuProduccion.razor"
                                       NavLinkMatch.All

#line default
#line hidden
                                       ));
            __builder.AddAttribute(7, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(8, "\r\n            ");
                __builder2.AddMarkupContent(9, "<div class=\"itemMenu\">\r\n                <div class=\"titulo\">\r\n                    <span>Pedidos a Producir</span>\r\n                </div>\r\n            </div>\r\n        ");
            }
                                                                                                       ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(10, "\r\n        ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(11);
            __builder.AddAttribute(12, "class", "nav-link");
            __builder.AddAttribute(13, "href", "BackOffice/Produccion/ListadoOrdenesProduccion");
            __builder.AddAttribute(14, "Match", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.Routing.NavLinkMatch>(
#line 14 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Produccion\MenuProduccion.razor"
                                       NavLinkMatch.All

#line default
#line hidden
                                       ));
            __builder.AddAttribute(15, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(16, "\r\n            ");
                __builder2.AddMarkupContent(17, "<div class=\"itemMenu\">\r\n                <div class=\"titulo\">\r\n                    <span>Listado de Ordenes de Producción</span>\r\n                </div>\r\n            </div>\r\n        ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(18, "\r\n\r\n        ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(19);
            __builder.AddAttribute(20, "class", "nav-link");
            __builder.AddAttribute(21, "href", "BackOffice/Produccion/OrdenProduccion");
            __builder.AddAttribute(22, "Match", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.Routing.NavLinkMatch>(
#line 22 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Produccion\MenuProduccion.razor"
                                       NavLinkMatch.All

#line default
#line hidden
                                       ));
            __builder.AddAttribute(23, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(24, "\r\n            ");
                __builder2.AddMarkupContent(25, "<div class=\"itemMenu\">\r\n                <div class=\"titulo\">\r\n                    <span>Nueva Orden de Producción</span>\r\n                </div>\r\n            </div>\r\n        ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(26, "\r\n\r\n    ");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h3>MainWrapper</h3>\r\n\r\n");
            __builder.OpenElement(1, "div");
            __builder.AddAttribute(2, "class", "row");
            __builder.AddMarkupContent(3, "\r\n    ");
            __builder.OpenElement(4, "div");
            __builder.AddAttribute(5, "class", "col-4");
            __builder.AddMarkupContent(6, "\r\n        ");
            __builder.OpenComponent <Albatross.Client.Pages.RoomInfo.RoomInfoWrapper>(7);
            __builder.CloseComponent();
            __builder.AddMarkupContent(8, "\r\n        ");
            __builder.OpenElement(9, "div");
            __builder.AddAttribute(10, "class", "row");
            __builder.AddMarkupContent(11, "\r\n            ");
            __builder.OpenElement(12, "div");
            __builder.AddAttribute(13, "class", "col-12 d-flex justify-content-center");
            __builder.AddMarkupContent(14, "\r\n                ");
            __builder.OpenElement(15, "button");
            __builder.AddAttribute(16, "type", "button");
            __builder.AddAttribute(17, "class", "btn btn-info");
            __builder.AddAttribute(18, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "E:\Blazor\Albatross\Albatross\Client\Pages\MainWrapper.razor"
                                                                                                                                                                    GoToNextStep

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(19, "\r\n                    <span class=\"fas fa-plus-circle text-success\"></span>مرحله بعد\r\n                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(20, "\r\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(21, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(23, "\r\n    ");
            __builder.OpenElement(24, "div");
            __builder.AddAttribute(25, "class", "col-8");
            __builder.AddMarkupContent(26, "\r\n        ");
            __builder.OpenElement(27, "div");
            __builder.AddAttribute(28, "class", "row");
            __builder.AddMarkupContent(29, "\r\n            ");
            __builder.OpenComponent <Albatross.Client.Pages.Steps.Steps>(30);
            __builder.AddAttribute(31, "Step", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32>(
#line 22 "E:\Blazor\Albatross\Albatross\Client\Pages\MainWrapper.razor"
                                       3

#line default
#line hidden
                                       ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(32, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(33, "\r\n        ");
            __builder.AddMarkupContent(34, "<div class=\"row\">\r\n            BODY\r\n        </div>\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(35, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 4
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "toast fade show");
            __builder.AddAttribute(2, "role", "alert");
            __builder.AddAttribute(3, "aria-live", "assertive");
            __builder.AddAttribute(4, "aria-atomic", "true");
            __builder.OpenElement(5, "div");
            __builder.AddAttribute(6, "class", "toast-header");
            __builder.OpenElement(7, "strong");
            __builder.AddAttribute(8, "class", "mr-auto");
            __builder.AddContent(9,
#line 3 "D:\dev\ActionNotifications\ActionNotificationItem.razor"
                                 _ActionNotification.Title

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n    ");
            __builder.AddMarkupContent(11, "<small class=\"text-muted\">agora</small>\r\n    ");
            __builder.OpenElement(12, "button");
            __builder.AddAttribute(13, "type", "button");
            __builder.AddAttribute(14, "class", "ml-2 mb-1 close");
            __builder.AddAttribute(15, "data-dismiss", "toast");
            __builder.AddAttribute(16, "aria-label", "Close");
            __builder.AddAttribute(17, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 5 "D:\dev\ActionNotifications\ActionNotificationItem.razor"
                                                                                                                                                                    (() => this._CloseHandler.InvokeAsync(_ActionNotification))

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(18, "<span aria-hidden=\"true\">&times;</span>");
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(19, "\r\n  ");
            __builder.OpenElement(20, "div");
            __builder.AddAttribute(21, "class", "toast-body");
            __builder.OpenElement(22, "span");
            __builder.AddAttribute(23, "style", "color:" + (
#line 10 "D:\dev\ActionNotifications\ActionNotificationItem.razor"
                                       _ActionNotification.TextColor.Name

#line default
#line hidden
                                       ) + ";");
            __builder.OpenElement(24, "strong");
            __builder.AddContent(25,
#line 10 "D:\dev\ActionNotifications\ActionNotificationItem.razor"
                                 _ActionNotification.Message

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.CloseElement();
        }
Exemplo n.º 5
0
        private void BuildRenderTreeCore(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            var header = Foo();

            __builder.OpenElement(0, "h1");
            __builder.AddContent(1, header);
            __builder.CloseElement();
            __builder.AddMarkupContent(3, "\r\n\r\nWelcome to your new app son.\r\n\r\n");
        }
 /// <summary>
 /// 這裡將會重新產生出最新狀態的轉譯樹
 /// </summary>
 /// <param name="__builder"></param>
 protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
 {
     __builder.AddMarkupContent(0, "<h3>Counter - C# 類別</h3>\r\n\r\n");
     __builder.OpenElement(1, "p");
     __builder.AddContent(2, "Current count: ");
     __builder.AddContent(3,
                          currentCount
                          );
     __builder.CloseElement();
     __builder.AddMarkupContent(4, "\r\n\r\n");
     __builder.OpenElement(5, "button");
     __builder.AddAttribute(6, "class", "btn btn-primary");
     __builder.AddAttribute(7, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
                                                                                                                                                            IncrementCount
                                                                                                                                                            ));
     __builder.AddContent(8, "Click me");
     __builder.CloseElement();
 }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddMarkupContent(1, "\r\n  ");
            __builder.OpenElement(2, "input");
            __builder.AddAttribute(3, "@bind",
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
                                   ParentValue

#line default
#line hidden
#nullable disable
                                   );
            __builder.CloseElement();
            __builder.AddMarkupContent(4, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 8
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "alert alert-secondary mt-4");
            __builder.AddAttribute(2, "role", "alert");
            __builder.AddMarkupContent(3, "\r\n   ");
            __builder.OpenElement(4, "h3");
            __builder.AddContent(5,
#line 2 "C:\Users\user\source\repos\BlazorApp1\BlazorApp1\Shared\SurveyPrompt.razor"
                                 Title

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(6, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 9
0
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
        {
            base.BuildRenderTree(builder);
            //NOTE: The floating action button icon can be used with a span, i, img, or svg element.
            var n = OpenElementWithCommonAttributes(builder, "span");

            builder.AddContent(n++, ChildContent);
            builder.CloseElement();
        }
Exemplo n.º 10
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "modal-body");
            __builder.AddMarkupContent(2, "\n    ");
            __builder.AddContent(3,
#line 4 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\BlazorModal\Components\ConfirmModal.razor"
                                 ModalText

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(4, "\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(5, "\n");
            __builder.OpenElement(6, "div");
            __builder.AddAttribute(7, "class", "modal-footer");
            __builder.AddMarkupContent(8, "\n    ");
            __builder.OpenElement(9, "button");
            __builder.AddAttribute(10, "class", "mr-2 btn btn-danger");
            __builder.AddAttribute(11, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 7 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\BlazorModal\Components\ConfirmModal.razor"
                                                                                                                                                                    (() => IBlazorModal.ConfirmYes(ItemToDelete))

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(12, "是的");
            __builder.CloseElement();
            __builder.AddMarkupContent(13, "\n    ");
            __builder.OpenElement(14, "button");
            __builder.AddAttribute(15, "class", "btn btn-secondary");
            __builder.AddAttribute(16, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\BlazorModal\Components\ConfirmModal.razor"
                                                                                                                                                                    (() => IBlazorModal.Close())

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(17, "取消");
            __builder.CloseElement();
            __builder.AddMarkupContent(18, "\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 1 "E:\Blazor\Albatross\Albatross\Client\Pages\RoomInfo\RoomInfoWrapper.razor"
            foreach (var item in RoomInfoBoxComponents)
            {
#line default
#line hidden
                __builder.AddContent(0,
#line 3 "E:\Blazor\Albatross\Albatross\Client\Pages\RoomInfo\RoomInfoWrapper.razor"
                                     item

#line default
#line hidden
                                     );
#line 3 "E:\Blazor\Albatross\Albatross\Client\Pages\RoomInfo\RoomInfoWrapper.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(1, "\r\n");
            __builder.OpenElement(2, "div");
            __builder.AddAttribute(3, "class", "row");
            __builder.AddMarkupContent(4, "\r\n    ");
            __builder.OpenElement(5, "div");
            __builder.AddAttribute(6, "class", "col-12 d-flex justify-content-center");
            __builder.AddMarkupContent(7, "\r\n        ");
            __builder.OpenElement(8, "button");
            __builder.AddAttribute(9, "type", "button");
            __builder.AddAttribute(10, "style", "font-size: small !important");
            __builder.AddAttribute(11, "class", "btn btn-info");
            __builder.AddAttribute(12, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "E:\Blazor\Albatross\Albatross\Client\Pages\RoomInfo\RoomInfoWrapper.razor"
                                                                                                                                                                    AddRoomInfoBox

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(13, "\r\n            <span class=\"fas fa-plus-circle pl-1 text-red\"></span>درخواست اتاق جدید\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(14, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(15, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 12
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 2 "/home/codespace/workspace/C-/BlazorLearningKickOff/BlazorLearningKickOff.Components/DismissableAlert.razor"
            if (Show)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "div");
                __builder.AddAttribute(2, "class", "alert alert-secondary alert-dismissable fade show mt-4");
                __builder.AddAttribute(3, "role", "alert");
                __builder.AddMarkupContent(4, "\n        ");
                __builder.AddContent(5,
#line 6 "/home/codespace/workspace/C-/BlazorLearningKickOff/BlazorLearningKickOff.Components/DismissableAlert.razor"
                                     ChildContent

#line default
#line hidden
                                     );
                __builder.AddMarkupContent(6, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(7, "\n    ");
                __builder.OpenElement(8, "button");
                __builder.AddAttribute(9, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "/home/codespace/workspace/C-/BlazorLearningKickOff/BlazorLearningKickOff.Components/DismissableAlert.razor"
                                                                                                                                                                       Dismiss

#line default
#line hidden
                                                                                                                                                                       ));
                __builder.AddAttribute(10, "type", "button");
                __builder.AddAttribute(11, "class", "close");
                __builder.AddAttribute(12, "data-dismiss", "alert");
                __builder.AddAttribute(13, "aria-label", "Close");
                __builder.AddMarkupContent(14, "\n       ");
                __builder.AddMarkupContent(15, "<span aria-hidden=\"true\">&times;</span>\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(16, "\n");
#line 12 "/home/codespace/workspace/C-/BlazorLearningKickOff/BlazorLearningKickOff.Components/DismissableAlert.razor"
            }

#line default
#line hidden
        }
Exemplo n.º 13
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "button");
            __builder.AddAttribute(1, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 3 "C:\Users\samue\Documents\GitHub\Blazor\Blazor_Atributos_Condicionais\Blazor_Atributos_Condicionais\Pages\Atributos.razor"
                                                                                                                                                                   AlteraEstado

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddContent(2, "Alterar Estado");
            __builder.CloseElement();
            __builder.AddMarkupContent(3, "\r\n<br>\r\n\r\nInput disabled : ");
            __builder.OpenElement(4, "input");
            __builder.AddAttribute(5, "disabled",
#line 6 "C:\Users\samue\Documents\GitHub\Blazor\Blazor_Atributos_Condicionais\Blazor_Atributos_Condicionais\Pages\Atributos.razor"
                                   Estado

#line default
#line hidden
                                   );
            __builder.CloseElement();
            __builder.AddMarkupContent(6, "\r\n<br>\r\nCheckBox checked : ");
            __builder.OpenElement(7, "input");
            __builder.AddAttribute(8, "type", "checkbox");
            __builder.AddAttribute(9, "checked",
#line 8 "C:\Users\samue\Documents\GitHub\Blazor\Blazor_Atributos_Condicionais\Blazor_Atributos_Condicionais\Pages\Atributos.razor"
                                   Estado

#line default
#line hidden
                                   );
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n<br>\r\nInput readonly :");
            __builder.OpenElement(11, "input");
            __builder.AddAttribute(12, "readonly",
#line 10 "C:\Users\samue\Documents\GitHub\Blazor\Blazor_Atributos_Condicionais\Blazor_Atributos_Condicionais\Pages\Atributos.razor"
                                   Estado

#line default
#line hidden
                                   );
            __builder.CloseElement();
        }
Exemplo n.º 14
0
 #pragma warning disable 1998
 protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
 {
     __builder.OpenElement(0, "div");
     __builder.AddAttribute(1, "class", "row mx-0");
     __builder.AddAttribute(2, "style", "background-image:url(images/city_4.jpg);height: 100%;background-repeat: no-repeat;background-size: cover;");
     __builder.AddMarkupContent(3, "\r\n    ");
     __builder.OpenElement(4, "div");
     __builder.AddAttribute(5, "class", "col");
     __builder.AddMarkupContent(6, "\r\n        ");
     __builder.AddMarkupContent(7, "<div class=\"home_subtitle\">super offer</div>\r\n        ");
     __builder.AddMarkupContent(8, "<div class=\"home_title\">Villa with sea view</div>\r\n        ");
     __builder.OpenComponent <Albatross.Client.Shared.RoomSlide>(9);
     __builder.CloseComponent();
     __builder.AddMarkupContent(10, "\r\n        ");
     __builder.AddMarkupContent(11, "<div class=\"home_price\">$ 1. 245 999</div>\r\n    ");
     __builder.CloseElement();
     __builder.AddMarkupContent(12, "\r\n");
     __builder.CloseElement();
 }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "alert alert-secondary mt-4");
            __builder.AddAttribute(2, "role", "alert");
            __builder.AddMarkupContent(3, "\r\n    <span class=\"oi oi-pencil mr-2\" aria-hidden=\"true\"></span>\r\n    ");
            __builder.OpenElement(4, "strong");
            __builder.AddContent(5,
#line 3 "C:\Users\Lenovo\source\repos\DemoBlazor\DemoBlazor\Shared\SurveyPrompt.razor"
                                 Title

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(6, "\r\n\r\n    ");
            __builder.AddMarkupContent(7, "<span class=\"text-nowrap\">\r\n        Please take our\r\n        <a target=\"_blank\" class=\"font-weight-bold\" href=\"https://go.microsoft.com/fwlink/?linkid=2100553\">brief survey</a>\r\n    </span>\r\n    and tell us what you think.\r\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "my-component");
            __builder.AddMarkupContent(2, "\r\n    This Blazor component is defined in the ");
            __builder.AddMarkupContent(3, "<strong>LibreriaComponenti</strong> package.\r\n\r\n    ");
            __builder.OpenElement(4, "button");
            __builder.AddAttribute(5, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 5 "C:\Users\miche\BlazorDevIta\articoli\LibreriaComponenti\LibreriaComponenti\Component1.razor"
                                                                                                                                                                   () => ExampleJsInterop.Prompt(JSRuntime, "Come ti chiami?")

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddMarkupContent(6, "\r\n        Chiama funzione JavaScript\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(7, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 17
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "footer");
            __builder.AddAttribute(1, "class", "footer");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.AddMarkupContent(3, "<div class=\"footer_main\">\r\n        <div class=\"container\">\r\n            <div class=\"row\">\r\n                <div class=\"col-lg-3\">\r\n                    <div class=\"footer_logo\"><a href=\"#\"><img src=\"images/logo_large.png\" alt></a></div>\r\n                </div>\r\n                <div class=\"col-lg-9 d-flex flex-column align-items-start justify-content-end\">\r\n                    <div class=\"footer_title\">Latest Properties</div>\r\n                </div>\r\n            </div>\r\n            <div class=\"row\">\r\n                <div class=\"col-lg-3 footer_col\">\r\n                    <div class=\"footer_about\">\r\n                        <div class=\"footer_about_text\">Donec in tempus leo. Aenean ultricies mauris sed quam lacinia lobortis. Cras ut vestibulum enim, in gravida nulla. Curab itur ornare nisl at sagittis cursus.</div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"col-lg-3 footer_col\">\r\n                    <div class=\"footer_latest d-flex flex-row align-items-start justify-content-start\">\r\n                        <div><div class=\"footer_latest_image\"><img src=\"images/footer_latest_1.jpg\" alt></div></div>\r\n                        <div class=\"footer_latest_content\">\r\n                            <div class=\"footer_latest_location\">Miami</div>\r\n                            <div class=\"footer_latest_name\"><a href=\"#\">Sea view property</a></div>\r\n                            <div class=\"footer_latest_price\">$ 1. 234 981</div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"col-lg-3 footer_col\">\r\n                    <div class=\"footer_latest d-flex flex-row align-items-start justify-content-start\">\r\n                        <div><div class=\"footer_latest_image\"><img src=\"images/footer_latest_2.jpg\" alt></div></div>\r\n                        <div class=\"footer_latest_content\">\r\n                            <div class=\"footer_latest_location\">Miami</div>\r\n                            <div class=\"footer_latest_name\"><a href=\"#\">Town House</a></div>\r\n                            <div class=\"footer_latest_price\">$ 1. 234 981</div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"col-lg-3 footer_col\">\r\n                    <div class=\"footer_latest d-flex flex-row align-items-start justify-content-start\">\r\n                        <div><div class=\"footer_latest_image\"><img src=\"images/footer_latest_3.jpg\" alt></div></div>\r\n                        <div class=\"footer_latest_content\">\r\n                            <div class=\"footer_latest_location\">Miami</div>\r\n                            <div class=\"footer_latest_name\"><a href=\"#\">Modern House</a></div>\r\n                            <div class=\"footer_latest_price\">$ 1. 234 981</div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    ");
            __builder.OpenElement(4, "div");
            __builder.AddAttribute(5, "class", "footer_bar");
            __builder.AddMarkupContent(6, "\r\n        ");
            __builder.OpenElement(7, "div");
            __builder.AddAttribute(8, "class", "container");
            __builder.AddMarkupContent(9, "\r\n            ");
            __builder.OpenElement(10, "div");
            __builder.AddAttribute(11, "class", "row");
            __builder.AddMarkupContent(12, "\r\n                ");
            __builder.OpenElement(13, "div");
            __builder.AddAttribute(14, "class", "col");
            __builder.AddMarkupContent(15, "\r\n                    ");
            __builder.OpenElement(16, "div");
            __builder.AddAttribute(17, "class", "footer_bar_content d-flex flex-row align-items-center justify-content-start");
            __builder.AddMarkupContent(18, "\r\n                        ");
            __builder.OpenElement(19, "div");
            __builder.AddAttribute(20, "class", "cr");
            __builder.AddMarkupContent(21, "\r\n                            \r\n                            Copyright &copy;\r\n                            ");
            __builder.AddContent(22,
#line 59 "E:\Blazor\Albatross\Albatross\Client\Shared\Footer.razor"
                                 DateTime.Now

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(23, " All rights reserved | This template is made with <i class=\"fa fa-heart-o\" aria-hidden=\"true\"></i> by ");
            __builder.AddMarkupContent(24, "<a href=\"https://colorlib.com\" target=\"_blank\">Colorlib</a>\r\n                            \r\n                        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(25, "\r\n                        ");
            __builder.AddMarkupContent(26, @"<div class=""footer_nav"">
                            <ul>
                                <li><a href=""index.html"">Home</a></li>
                                <li><a href=""#"">About us</a></li>
                                <li><a href=""properties.html"">Properties</a></li>
                                <li><a href=""news.html"">News</a></li>
                                <li><a href=""contact.html"">Contact</a></li>
                            </ul>
                        </div>
                        ");
            __builder.AddMarkupContent(27, "<div class=\"footer_phone ml-auto\"><span>call us: </span>652 345 3222 11</div>\r\n                    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(28, "\r\n                ");
            __builder.CloseElement();
            __builder.AddMarkupContent(29, "\r\n            ");
            __builder.CloseElement();
            __builder.AddMarkupContent(30, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(31, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(32, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 18
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "p-2 bg-info text-white");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Forms.EditForm>(3);
            __builder.AddAttribute(4, "Model", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Object>(
#line 5 "C:\Learning\AngularJs\Essential_Angular_Book\SportsStore\BlazorApp\App.razor"
                                       search

#line default
#line hidden
                                       ));
            __builder.AddAttribute(5, "OnValidSubmit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Forms.EditContext> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Forms.EditContext>(this,
#line 5 "C:\Learning\AngularJs\Essential_Angular_Book\SportsStore\BlazorApp\App.razor"
                                                                                                                                                                                                                                                                                                                                                       HandleSearch

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
            __builder.AddAttribute(6, "class", "form-inline");
            __builder.AddAttribute(7, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder2) => {
                __builder2.AddMarkupContent(8, "\r\n        ");
                __builder2.OpenComponent <Microsoft.AspNetCore.Components.Forms.InputText>(9);
                __builder2.AddAttribute(10, "class", "form-control");
                __builder2.AddAttribute(11, "placeholder", "Enter search term");
                __builder2.AddAttribute(12, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 6 "C:\Learning\AngularJs\Essential_Angular_Book\SportsStore\BlazorApp\App.razor"
                                            search.searchTerm

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => search.searchTerm = __value, search.searchTerm))));
                __builder2.AddAttribute(14, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => search.searchTerm));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(15, "\r\n        ");
                __builder2.AddMarkupContent(16, "<button type=\"submit\" class=\"btn btn-primary m-1\">Search</button>\r\n        ");
                __builder2.OpenElement(17, "span");
                __builder2.AddAttribute(18, "class", "ml-3");
                __builder2.AddContent(19,
#line 9 "C:\Learning\AngularJs\Essential_Angular_Book\SportsStore\BlazorApp\App.razor"
                                      results

#line default
#line hidden
                                      );
                __builder2.CloseElement();
                __builder2.AddMarkupContent(20, "\r\n    ");
            }
                                                                                                                                                           ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(21, "            \r\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "nav");
            __builder.AddAttribute(1, "class", "navbar");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "div");
            __builder.AddAttribute(4, "class", "container");
            __builder.AddMarkupContent(5, "\r\n        ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(6);
            __builder.AddAttribute(7, "class", "nav-link text-light");
            __builder.AddAttribute(8, "href", "");
            __builder.AddAttribute(9, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(10, "\r\n            Webstoer\r\n        ");
            }
                                                                                                       ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(11, "\r\n\r\n        ");
            __builder.AddMarkupContent(12, @"<form class=""form-inline my-2 my-lg-0"">
            <input class=""form-control mr-sm-2"" type=""search"" placeholder=""Search"" aria-label=""Search"">
            <button class=""btn btn-outline-success my-2 my-sm-0"" type=""submit"">Search</button>
        </form>
        ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(13);
            __builder.AddAttribute(14, "class", "nav-link");
            __builder.AddAttribute(15, "href", "ShoppingCart");
            __builder.AddAttribute(16, "Match", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.Routing.NavLinkMatch>(
#line 11 "C:\Users\Lterwingen\Desktop\switch1920\researchProject\apps\Blazor\ResearchProject-Blazor-frontend\Shared\CustomHeader.razor"
                                       NavLinkMatch.Prefix

#line default
#line hidden
                                       ));
            __builder.AddAttribute(17, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(18, "\r\n            <i class=\"fas fa-2x fa-shopping-cart float-right text-white\"></i>\r\n        ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(19, "\r\n\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(20, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 20
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<div class=\"card-header\"><h3>Data Component</h3>\r\n    <button onclick=\"Getdata\" class=\"btn btn-success\">Click to GetData</button></div>\r\n");
            __builder.OpenElement(1, "div");
            __builder.AddAttribute(2, "class", "card-body");
            __builder.AddMarkupContent(3, "<br>\r\n    ");
            __builder.OpenElement(4, "div");
            __builder.AddAttribute(5, "class", "badge-primary");
            __builder.AddContent(6,
#nullable restore
#line 7 "E:\ITIProject\New folder\ITI_Graduation_Project_Ecommerce\MahaleSystem\Views\Shared\Components\FirstBlazor.razor"
                                 counter

#line default
#line hidden
#nullable disable
                                 );
            __builder.CloseElement();
            __builder.CloseElement();
        }
Exemplo n.º 21
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "form-group");
            __builder.AddMarkupContent(2, "    \r\n\t");
            __builder.OpenElement(3, "input");
            __builder.AddAttribute(4, "type", "text");
            __builder.AddAttribute(5, "class", "form-control");
            __builder.AddAttribute(6, "placeholder", "Search");
            __builder.AddAttribute(7, "oninput", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
#line 3 "C:\Projects\Korea\Korea\Shared\Components\SearchFrom.razor"
                                                                                                                                                                CheckChanged

#line default
#line hidden
                                                                                                                                                                ));
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\r\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddMarkupContent(1, "\r\n  ");
            __builder.OpenElement(2, "a");
            __builder.AddAttribute(3, "onclick", "test()");
            __builder.AddAttribute(4, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.UIMouseEventArgs>(this,
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
                                                                                                                                                                 () => {}

#line default
#line hidden
#nullable disable
                                                                                                                                                                 ));
            __builder.AddContent(5, "Learn the ten cool tricks your compiler author will hate!");
            __builder.CloseElement();
            __builder.AddMarkupContent(6, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 23
0
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder)
        {
            base.BuildRenderTree(builder);
            var n = OpenElementWithCommonAttributes(builder, "div");

            builder.AddAttribute(n++, "role", "alertdialog");
            builder.AddAttribute(n++, "aria-modal", "true");
            CaptureElementReference(builder, ref n);
            builder.AddContent(n++, ChildContent);
            builder.CloseElement();
        }
 #pragma warning disable 1998
 protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
 {
     __builder.OpenElement(0, "div");
     __builder.AddAttribute(1, "class", "row px-4");
     __builder.AddMarkupContent(2, "\n    ");
     __builder.OpenComponent <Oqtane.UI.Pane>(3);
     __builder.AddAttribute(4, "Name", "Content");
     __builder.CloseComponent();
     __builder.AddMarkupContent(5, "\n");
     __builder.CloseElement();
 }
Exemplo n.º 25
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, "div");
            __builder.AddAttribute(4, "class", "content px-4");
            __builder.AddMarkupContent(5, "\r\n        ");
            __builder.AddContent(6,
#line 5 "C:\Users\brad\blazor-test\Shared\MainLayout.razor"
                                 Body

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(7, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\r\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "login-container");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "div");
            __builder.AddAttribute(4, "class", "login-body");
            __builder.AddMarkupContent(5, "\r\n        ");
            __builder.AddContent(6,
#line 5 "C:\Temp\Blazor-Architecture\Blazor.UI\Shared\LoginLayout.razor"
                                 Body

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(7, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 27
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 4 "C:\Users\Leah\source\repos\PizzaParty\Extensions\ValidationErrors.razor"
            if (Errors.Any())
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "ul");
                __builder.AddAttribute(2, "class", "validation-error");
                __builder.AddMarkupContent(3, "\r\n");
#line 7 "C:\Users\Leah\source\repos\PizzaParty\Extensions\ValidationErrors.razor"
                foreach (string error in Errors)
                {
#line default
#line hidden
                    __builder.AddContent(4, "            ");
                    __builder.OpenElement(5, "li");
                    __builder.AddContent(6,
#line 9 "C:\Users\Leah\source\repos\PizzaParty\Extensions\ValidationErrors.razor"
                                         error

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(7, "\r\n");
#line 10 "C:\Users\Leah\source\repos\PizzaParty\Extensions\ValidationErrors.razor"
                }

#line default
#line hidden
                __builder.AddContent(8, "    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(9, "\r\n");
#line 12 "C:\Users\Leah\source\repos\PizzaParty\Extensions\ValidationErrors.razor"
            }

#line default
#line hidden
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "sidebar");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenComponent <BlazorTestApp.Shared.NavMenu>(3);
            __builder.CloseComponent();
            __builder.AddMarkupContent(4, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(5, "\r\n\r\n");
            __builder.OpenElement(6, "div");
            __builder.AddAttribute(7, "class", "main");
            __builder.AddMarkupContent(8, "\r\n    ");
            __builder.AddMarkupContent(9, "<div class=\"top-row px-4\">\r\n    </div>\r\n    ");
            __builder.OpenElement(10, "div");
            __builder.AddAttribute(11, "class", "content px-4");
            __builder.AddMarkupContent(12, "\r\n        ");
            __Blazor.BlazorTestApp.Shared.MainLayout.TypeInference.CreateCascadingValue_0(__builder, 13, 14, "GlobalDialog", 15,
#line 15 "E:\New folder\MilicaProjekat\BlazorTestProjects\BlazorTest.App\Shared\MainLayout.razor"
                                                                                          this

#line default
#line hidden
                                                                                          , 16, (__builder2) => {
                __builder2.AddMarkupContent(17, "\r\n            ");
                __builder2.AddContent(18,
#line 16 "E:\New folder\MilicaProjekat\BlazorTestProjects\BlazorTest.App\Shared\MainLayout.razor"
                                      Body

#line default
#line hidden
                                      );
                __builder2.AddMarkupContent(19, "\r\n        ");
            }
                                                                                          );
            __builder.AddMarkupContent(20, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(21, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(22, "\r\n<div class=\"footer\"></div>");
        }
Exemplo n.º 29
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "panel panel-default");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "div");
            __builder.AddAttribute(4, "class", "panel-heading alert alert-info");
            __builder.AddContent(5,
#line 2 "C:\dev\cm.blazor\cm.blazorApp\cm.blazorApp\Pages\Components\ChildComponent.razor"
                                 Title

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(6, "\r\n    ");
            __builder.OpenElement(7, "div");
            __builder.AddAttribute(8, "class", "panel-body alert alert-success");
            __builder.AddContent(9,
#line 3 "C:\dev\cm.blazor\cm.blazorApp\cm.blazorApp\Pages\Components\ChildComponent.razor"
                                 ChildContent

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n\r\n    ");
            __builder.OpenElement(11, "button");
            __builder.AddAttribute(12, "class", "btn btn-danger");
            __builder.AddAttribute(13, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 5 "C:\dev\cm.blazor\cm.blazorApp\cm.blazorApp\Pages\Components\ChildComponent.razor"
                                                                                                                                                                    OnClickMethod

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(14, "\r\n        Button to be clicked!\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(15, "\r\n");
            __builder.CloseElement();
        }
Exemplo n.º 30
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "parent");
            __builder.AddMarkupContent(1, "\r\n    ");
            __builder.OpenElement(2, "child");
            __builder.AddContent(3, " ");
            __builder.AddContent(4,
#nullable restore
#line 2 "x:\dir\subdir\Test\TestComponent.cshtml"
                                 DateTime.Now

#line default
#line hidden
#nullable disable
                                 );
            __builder.AddContent(5, " ");
            __builder.CloseElement();
            __builder.AddMarkupContent(6, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(7, "\r\n\r\n");
        }