Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials Inheritance: System.Object

Syntax

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Action

Allows the current Blazor container to pass the StateHasChanged action back to the BlazorObservable so ViewModel operations can trigger state changes.

Syntax

Property Value

Type: System.Action

Remarks

Will optionally drop intermediate StateHasChanged calls in a rapidly-updating environment, based on StateHasChangedConfig.DelayMode and StateHasChangedConfig.DelayInterval.

BlazorObservableType

The BlazorObservableType associated with this Configuration instance.

Syntax

Property Value

Type: System.Type

Count

Syntax

Property Value

Type: int

Remarks

This is public so

DebugMode

Flag for whether or not the render count and helpful debug feedback/warnings should be logged to the Console. Default is StateHasChangedDebugMode.Off.

Syntax

Property Value

Type: CloudNimble.BlazorEssentials.StateHasChangedDebugMode

DelayInterval

An Int32 specifying the number of milliseconds this BlazorObservable should wait between StateHasChangedConfig.Action calls. Default is 100 milliseconds.

Syntax

Property Value

Type: int

Remarks

StateHasChangedConfig.DelayMode must be set to StateHasChangedDelayMode.Debounce or StateHasChangedDelayMode.Throttle for this setting to take effect.

DelayMode

A StateHasChangedConfig.DelayMode indicating whether or not this BlazorObservable should reduce the number of times StateHasChangedConfig.Action should be called in a given StateHasChangedConfig.DelayInterval Default is StateHasChangedDelayMode.Off.

Syntax

Property Value

Type: CloudNimble.BlazorEssentials.StateHasChangedDelayMode

Methods

Clone

Copies the values from this StateHasChangedConfig instance into a new one.

Syntax

Parameters

Returns

Type: CloudNimble.BlazorEssentials.StateHasChangedConfig A new StateHasChangedConfig instance with the values populated from this instance.

Remarks

This is required because if we used DI to inject a StateHasChangedConfig instance, we wouldn’t be able to have different configurations per ViewModelBase2`, AND we would end up overwriting the StateHasChangedConfig.ActionActions</see> from other Pages when the value was set.

Dispose

Syntax

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • System.IDisposable