Beispiel #1
0
        protected override async Task OnInitializedAsync()
        {
            if (OnInit.HasDelegate)
            {
                await OnInit.InvokeAsync(EventArgs.Empty);
            }

            await base.OnInitializedAsync();

            if (OnLoad.HasDelegate)
            {
                await OnLoad.InvokeAsync(EventArgs.Empty);
            }

            if (OnPreRender.HasDelegate)
            {
                await OnPreRender.InvokeAsync(EventArgs.Empty);
            }
        }