Class BaseComponent
Inheritance
Namespace: Telerik.Blazor.Components.Common
Assembly: Telerik.Blazor.dll
Syntax
public class BaseComponent : ComponentBase, IDisposable
Constructors
BaseComponent()
Declaration
public BaseComponent()
Properties
Class
Defines an additional CSS class for the Component's wrapping element.
Declaration
public string Class { get; set; }
Property Value
System.String
|
RootComponent
Declaration
public TelerikRootComponent RootComponent { get; set; }
Property Value
TelerikRootComponent
|
Methods
Dispose()
Declaration
public virtual void Dispose()
GetClassString(String[])
Declaration
protected static string GetClassString(params string[] classNames)
Parameters
System.String[]
classNames
|
Returns
System.String
|
HaveOptionsChanged(IDictionary<String, Object>, IDictionary<String, Object>)
Declaration
protected static bool HaveOptionsChanged(IDictionary<string, object> oldOptions, IDictionary<string, object> newOptions)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
oldOptions
|
System.Collections.Generic.IDictionary<System.String, System.Object>
newOptions
|
Returns
System.Boolean
|
InitLocalizer()
Declaration
protected void InitLocalizer()
InvokeAsync<T>(String, Object[])
Declaration
protected virtual ValueTask<T> InvokeAsync<T>(string methodName, params object[] args)
Parameters
System.String
methodName
|
System.Object[]
args
|
Returns
System.Threading.Tasks.ValueTask<T>
|
Type Parameters
T
|
InvokeAsync<T>(String, CancellationToken, Object[])
Declaration
protected virtual ValueTask<T> InvokeAsync<T>(string methodName, CancellationToken cancellationToken, params object[] args)
Parameters
System.String
methodName
|
System.Threading.CancellationToken
cancellationToken
|
System.Object[]
args
|
Returns
System.Threading.Tasks.ValueTask<T>
|
Type Parameters
T
|
InvokeComponentMethodAsync<T>(String, Object[])
Declaration
protected virtual ValueTask<T> InvokeComponentMethodAsync<T>(string methodName, params object[] args)
Parameters
System.String
methodName
|
System.Object[]
args
|
Returns
System.Threading.Tasks.ValueTask<T>
|
Type Parameters
T
|
InvokeComponentMethodAsync<T>(String, CancellationToken, Object[])
Declaration
protected virtual ValueTask<T> InvokeComponentMethodAsync<T>(string methodName, CancellationToken cancellationToken, params object[] args)
Parameters
System.String
methodName
|
System.Threading.CancellationToken
cancellationToken
|
System.Object[]
args
|
Returns
System.Threading.Tasks.ValueTask<T>
|
Type Parameters
T
|
InvokeComponentVoidMethodAsync(String, Object)
Declaration
protected virtual ValueTask InvokeComponentVoidMethodAsync(string methodName, object args = null)
Parameters
System.String
methodName
|
System.Object
args
|
Returns
System.Threading.Tasks.ValueTask
|
InvokeDisposeAsync()
Declaration
protected Task InvokeDisposeAsync()
Returns
System.Threading.Tasks.Task
|
InvokeVoidAsync(String, Object[])
Declaration
protected virtual ValueTask InvokeVoidAsync(string methodName, params object[] args)
Parameters
System.String
methodName
|
System.Object[]
args
|
Returns
System.Threading.Tasks.ValueTask
|
InvokeVoidComponentMethodAsync(String, Object[])
Declaration
protected virtual ValueTask InvokeVoidComponentMethodAsync(string methodName, params object[] args)
Parameters
System.String
methodName
|
System.Object[]
args
|
Returns
System.Threading.Tasks.ValueTask
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task
|
ShouldRender()
Declaration
protected override bool ShouldRender()
Returns
System.Boolean
|
StateHasChanged()
Declaration
protected virtual void StateHasChanged()
ThrowIfParameterIsNull(Object, String)
Declaration
protected static void ThrowIfParameterIsNull(object argumentValue, string argumentName)
Parameters
System.Object
argumentValue
|
System.String
argumentName
|