Table of Contents

Class DynamicEntityCriteriaView

Namespace
The.Web.Entities
Assembly
Instagile.Web.Client.dll

Criteria-entry block for a dynamic entity type. Registers criteria commands.

public class DynamicEntityCriteriaView : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IVisitor<Action<RenderTreeBuilder>>
Inheritance
DynamicEntityCriteriaView
Implements
Inherited Members

Remarks

See EntityCriteriaView<T> if you have a static type.

Properties

BaseQuery

The entities to which specification will be applied.

[Parameter]
[EditorRequired]
public IFrozenQuery<IEntity>? BaseQuery { get; set; }

Property Value

IFrozenQuery<IEntity>

InitialValues

Pre-filled defaults.

[Parameter]
public IDictionary<string, string>? InitialValues { get; set; }

Property Value

IDictionary<string, string>

OnQuery

Called when a new specification has been set.

[Parameter]
public EventCallback<AppliedCriteria<IEntity>> OnQuery { get; set; }

Property Value

EventCallback<AppliedCriteria<IEntity>>

Type

The type to specify. See ICriteriaSpec to customise the generated criteria.

[Parameter]
[EditorRequired]
public IEntityInfo? Type { get; set; }

Property Value

IEntityInfo

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

builder RenderTreeBuilder

A RenderTreeBuilder that will receive the render output.