Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials Inheritance: CloudNimble.EasyAF.Core.EasyObservableObject

Syntax

CloudNimble.BlazorEssentials.BlazorObservable

Summary

A base class for Blazor ViewModels to implement INotifyPropertyChanged and IDisposable.

Constructors

.ctor

Creates a new instance of the BlazorObservable class.

Syntax

public BlazorObservable(CloudNimble.BlazorEssentials.StateHasChangedConfig stateHasChangedConfig = null)

Parameters

NameTypeDescription
stateHasChangedConfigCloudNimble.BlazorEssentials.StateHasChangedConfig-

Properties

LoadingStatus

A BlazorObservable.LoadingStatus specifying the current state of the required data for this Observable.

Syntax

public CloudNimble.BlazorEssentials.LoadingStatus LoadingStatus { get; set; }

Property Value

Type: CloudNimble.BlazorEssentials.LoadingStatus

StateHasChanged

Determines how to trigger StateHasChanged events in a Blazor component.

Syntax

public CloudNimble.BlazorEssentials.StateHasChangedConfig StateHasChanged { get; set; }

Property Value

Type: CloudNimble.BlazorEssentials.StateHasChangedConfig