EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Class ReactiveComponentBase

    Represents the base class for a reactive component in a Blazor application.

    Inheritance
    object
    ComponentBase
    ReactiveComponentBase
    BlazorContentPresenter
    BlazorReactiveComponentBase
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IReactiveComponent
    IDisposable
    INotifyPropertyChanged
    IRefreshableComponent
    IAsyncDisposable
    Inherited Members
    ComponentBase.StateHasChanged()
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: PoeShared.Blazor
    Assembly: PoeShared.Blazor.dll
    Syntax
    public abstract class ReactiveComponentBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IReactiveComponent, IDisposable, INotifyPropertyChanged, IRefreshableComponent, IAsyncDisposable

    Constructors

    Name Description
    ReactiveComponentBase()

    Initializes a new instance of the ReactiveComponentBase class.

    Properties

    Name Description
    Anchors

    Gets the collection of disposables for this component.

    ComponentId

    Gets the unique identifier for the reactive component.

    IsComponentInitialized

    Indicates whether the component is initialized. Set after the first OnInitialized call.

    IsComponentLoaded

    Indicates whether the component is loaded. Set after the first OnParametersSet call.

    IsComponentRendered

    Indicates whether the component is rendered. Set after the first OnAfterRender call.

    Log

    Gets the logger for this component.

    Name

    Gets or sets the name of the component.

    RefreshCount

    Gets the total count of refreshes that have occurred.

    RefreshPeriod

    Gets or sets the refresh period for the component.

    RefreshRequestCount

    Gets the count of refresh requests that have been made. Not all of them will be served - throttling/sampling, filtering, etc.

    RenderCount

    Gets the total count of successful renders that have occurred.

    RenderOnlyWhenChanged

    Controls rendering process - if set, StateHasChanged will be called only when there is at least one change detected either by ChangeDetector or manually

    ShouldRenderCount

    Gets the total count of ShouldRender requests that have occurred.

    WhenRefresh

    Gets the subject that triggers when the component should refresh.

    Methods

    Name Description
    AddAfterRenderTask(Func<Task>)
    AddAfterRenderValueTask(Func<ValueTask>)
    BuildRenderTree(RenderTreeBuilder)
    Dispose()

    Disposes of the resources used by this component.

    DisposeAsync()
    OnAfterFirstRender()

    Method invoked first time the component has been rendered. Note that the component does not automatically re-render after the completion of any returned Task, because that would cause an infinite render loop.

    OnAfterFirstRenderAsync()

    Method invoked first time the component has been rendered. Note that the component does not automatically re-render after the completion of any returned Task, because that would cause an infinite render loop.

    OnAfterRender(bool)
    OnAfterRenderAsync(bool)
    OnInitialized()
    OnInitializedAsync()
    OnParametersSet()
    OnParametersSetAsync()
    PrepareLogger()

    Prepares the logger for this component.

    RaiseAndSetIfChanged<TRet>(ref TRet, TRet, string)

    Raises a property changed event if the specified field is changed. Sets the field to the new value if changed.

    RaiseAndSet<TRet>(ref TRet, TRet, string)
    RaisePropertyChanged(string)

    Raises the PropertyChanged event for a given property.

    Refresh(object)

    Refreshes the component state, equivalent of StateHasChanged but with additional information about reason(if possible).

    SetParametersAsync(ParameterView)
    ShouldRender()

    Events

    Name Description
    PropertyChanged

    Extension Methods

    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ISourceList<TCollection>)
    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ICollection<TCollection>)
    ObjectExtensions.CloneJson<T>(T)
    ObjectExtensions.CopyPropertiesTo<TSource, TTarget>(TSource, TTarget)
    ObjectExtensions.DumpToJson<T>(T)
    ObjectExtensions.DumpToTextRaw<T>(T)
    ObjectExtensions.DumpToText<T>(T)
    ObjectExtensions.Dump<T>(T)
    ObjectExtensions.EvalOrDefault<T, TValue>(T, Func<T, TValue>, TValue)
    ObjectExtensions.Eval<T, TValue>(T, Func<T, TValue>)
    ObjectExtensions.GetPropertyAccessor<TSource, TValue>(TSource, Expression<Func<TSource, TValue>>)
    ObjectExtensions.InsertTo<TItem, TCollection>(TItem, IList<TCollection>, int)
    ObjectExtensions.ToJson<T>(T, Formatting)
    ObjectExtensions.ToStringSafe<T>(T)
    ObjectExtensions.TransferPropertiesTo<TSource, TTarget>(TSource, TTarget, params string[])
    ObjectExtensions.WaitForAsync<TObject, T1>(TObject, Func<TObject, T1>, Predicate<T1>, TimeSpan, int)
    XDocumentExtensions.AddTo<T>(T, XContainer)
    JsObjectsExtensions.DisposeJsSafeAsync(IAsyncDisposable)
    JsObjectsExtensions.DisposeJsSafe(IDisposable)
    ObjectExtensions.GetPropertyAccessor<TValue>(object, string)
    ObjectReflectionExtensions.GetPropertyTypeOrDefault(object, string)
    ObjectReflectionExtensions.GetPropertyValue<T>(object, string)
    ObjectReflectionExtensions.SetPropertyValue<T>(object, string, T)
    2025 © Xab3r. All rights reserved.