Class BoundTask<T>
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
ChildContent
[Parameter]
public RenderFragment<T>? ChildContent { get; set; }
Property Value
ErrorContent
[Parameter]
public RenderFragment<Exception>? ErrorContent { get; set; }
Property Value
IsLoading
public bool IsLoading { get; }
Property Value
LoadingContent
[Parameter]
public RenderFragment? LoadingContent { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
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
Reload()
public void Reload()