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>)
    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.

    IsLoaded

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

    IsRendered

    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.

    WhenRefresh

    Gets the subject that triggers when the component should refresh.

    Methods

    Name Description
    BuildRenderTree(RenderTreeBuilder)
    Dispose()

    Disposes of the resources used by this component.

    DisposeAsync()
    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

    ReactiveObjectExtensions.Listen<TContext, TItem>(TContext, Expression<Func<TContext, IObservableList<TItem>>>)
    ReactiveObjectExtensions.Listen<TContext, TOut>(TContext, Expression<Func<TContext, TOut>>)
    ReactiveObjectExtensions.Listen<TContext, TOut1, TOut2>(TContext, Expression<Func<TContext, TOut1>>, Expression<Func<TContext, TOut2>>)
    ReactiveObjectExtensions.Listen<TContext, TOut1, TOut2, TOut3>(TContext, Expression<Func<TContext, TOut1>>, Expression<Func<TContext, TOut2>>, Expression<Func<TContext, TOut3>>)
    ReactiveObjectExtensions.Listen<TContext, TOut1, TOut2, TOut3, TOut4>(TContext, Expression<Func<TContext, TOut1>>, Expression<Func<TContext, TOut2>>, Expression<Func<TContext, TOut3>>, Expression<Func<TContext, TOut4>>)
    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.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)
    ObjectExtensions.ToStringSafe<T>(T)
    ObjectExtensions.TransferPropertiesTo<TSource, TTarget>(TSource, TTarget, params string[])
    XDocumentExtensions.AddTo<T>(T, XContainer)
    ObjectExtensions.GetPropertyAccessor<TValue>(object, string)
    ObjectReflectionExtensions.GetPropertyTypeOrDefault(object, string)
    ObjectReflectionExtensions.GetPropertyValue<T>(object, string)
    ObjectReflectionExtensions.SetPropertyValue<T>(object, string, T)
    © Xab3r. All rights reserved.