Table of Contents

Class BoundTask<T>

Namespace
The.Web.Controls
Assembly
Instagile.Web.Client.dll
public class BoundTask<T> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Type Parameters

T
Inheritance
BoundTask<T>
Implements
Inherited Members

Properties

Binding

[Parameter]
public Func<Task<T>>? Binding { get; set; }

Property Value

Func<Task<T>>

ChildContent

[Parameter]
public RenderFragment<T>? ChildContent { get; set; }

Property Value

RenderFragment<T>

ErrorContent

[Parameter]
public RenderFragment<Exception>? ErrorContent { get; set; }

Property Value

RenderFragment<Exception>

IsLoading

public bool IsLoading { get; }

Property Value

bool

LoadingContent

[Parameter]
public RenderFragment? LoadingContent { get; set; }

Property Value

RenderFragment

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnInitialized()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

protected override void OnInitialized()

OnParametersSetAsync()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override Task OnParametersSetAsync()

Returns

Task

A Task representing any asynchronous operation.

Reload()

public void Reload()