Table of Contents

Namespace The.Web.Entities

Classes

BoundProperty
BrowsePageLink
CellSpec

A CellSpecBase backed by a property: it renders the value supplied by the column's PropertyBinding, with rename/reorder/visibility combinators. The list-view analog of FieldSpec.

CellSpecBase

Base for a list column's cell - how a column renders (render fragment, label, order, header, preloads) - independent of the PropertyBinding that supplies its value. Carried inside a ColumnSpec and turned into a ColumnModel. Its two shapes are the property-backed CellSpec and the UnboundCellSpec.

CellSpec<T, U>

A CellSpec that renders the T property with the U cell component.

CheckedListView<T>
ChromeCascade
ChromeContextExtensions
ChromeScope
ColumnModel

The resolved, ready-to-render form of a ColumnSpec: a bound (per-row PropertyBinding

  • IProperty component) or unbound (whole-row) render fragment, plus header, order, visibility, preloads and admin flag. Produced by CreateModel(IServices, PropertyBinding?) and consumed by the list views. The list-view analog of FieldModel - one model serves every row (its binding is applied per row), so there is no per-row cell model.
ColumnSpec

One list/summary column: a CellSpecBase (how to render) paired with an optional PropertyBinding (what value to read) and an optional read-access gate. Produced by DefineColumns(IEntityInfo) and resolved into a ColumnModel. The list-view analog of RowSpec.

ColumnSpec<T>

A ColumnSpec built from a strongly-typed PropertyBinding<T>.

CreatePageLink
CriterionContext
CriterionSpec

Base class providing the public API for EntityCriteriaView<T>; has no concept of how to apply or render a criterion.

DefaultCommandSpec<T>

Default ICommandSpec<T>: supplies the built-in entity/list/reference/collection commands for entity type T when no application override matches.

DefaultCriteriaSpec

Default ICriteriaSpec: scaffolds an entity's search criteria, producing a CriterionSpec per searchable attribute and relationship. Override the Define* hooks to customise; applications usually subclass the typed DefaultCriteriaSpec<T>.

DefaultCriteriaSpec<T>

A DefaultCriteriaSpec matched to entity type T.

DefaultEditSpec

Default IEditSpec: scaffolds an entity's edit form, producing a RowSpec (binding + FieldSpec + read-access gate) per property and grouping them into SectionSpecs. Override the Define* hooks to customise; applications usually subclass the typed DefaultEditSpec<T>.

DefaultEditSpec<T>

A DefaultEditSpec matched to entity type T, exposing strongly-typed override hooks.

DefaultFieldLabel
DefaultListSpec

Default IListSpec: scaffolds an entity's list/summary columns, producing a ColumnSpec (binding + CellSpec + read-access gate) per shown property. Override the Define* hooks to customise; applications usually subclass the typed DefaultListSpec<T>.

DefaultListSpec<T>

A DefaultListSpec matched to entity type T.

DynamicEntityCriteriaView

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

DynamicEntityEditViews

Data-entry blocks (multiple tags) for a dynamically-typed entity. Registers entity commands.

DynamicEntityListView

Virtualised-list block for a dynamically-typed entity query. Registers list commands.

DynamicEntityListViews

List section(s) for a dynamically-typed entity query: a single sectioned table, or a stack of cards in low-density (consumer) chrome. Registers list commands.

DynamicEntitySearchView

Combined criteria-and-list block for a dynamic entity type. Registers criteria and list commands.

EditField
EditPageLink
EditSection
EntityCriteriaView<T>

Criteria-entry block for an entity type. Registers criteria commands.

EntityEditViews<T>

Data-entry blocks (multiple tags) for a statically-typed entity. Registers entity commands.

EntityListViewBase<T>

Shared loading, virtualisation, command and export machinery behind the entity-list render shapes (the EntityListView<T> table and the EntityListViews<T> card stack). Subclasses provide only their own markup and their chrome source.

EntityListView<T>

Virtualised-list block for a statically-typed entity query. Registers list commands.

EntityListViews<T>

List section(s) for a statically-typed entity query. In high density this is a single sectioned EntityListView<T> table; in low density it is a vertical stack of cards, so a phone doesn't get a horizontally-scrolling spreadsheet. Registers list commands.

EntitySearchView<T>

Combined criteria-and-list block for a dynamic entity type. Registers criteria and list commands.

EntityState<T>
EntitySummaryView
FieldContext
FieldLabel
FieldMessage
FieldModel

The resolved, ready-to-render form of a FieldSpec - component, label, height, validation, visibility/editability and the read-access gate - produced by CreateModel(FieldContext) and consumed by the edit components. The edit-view analog of ColumnModel.

FieldParameter<T>
FieldSpec

Describes how one edit-form field renders and behaves: its component, label, height and visibility/editability combinators. Paired with a PropertyBinding in a RowSpec and resolved into a FieldModel by the edit components - the edit-view analog of CellSpec. Most fields are the generic FieldSpec<T, U, V>.

FieldSpec<T, U>

A FieldSpec<T, U, V> whose component is not tied to a related entity type; the common case (e.g. attribute fields).

FieldSpec<T, U, V>

The generic FieldSpec: renders the T property with the U field component (for reference fields V is the related entity type), and carries the strongly-typed combinators.

HeaderSpec

How a list column header renders: a render fragment, defaulting to the column label as text. Referenced by CellSpecBase and carried onto the ColumnModel.

HeaderSpec<T>

A HeaderSpec that renders the T widget component as the header.

HeaderSpec<T, U>

A HeaderSpec<T> that renders the U cell component, bound to a fixed T property value, as the header.

ListCell
LoadingCriteriaView
LoadingEditViews
LoadingListView
LoadingSearchView
LoadingSection
OpenEntityLink
PropertyBindingExtensions
RichTextBuilderExtensions
RowSpec

A single row of an edit form: a FieldSpec bound to a property, optionally gated behind read access to an entity type. The edit-view analog of ColumnSpec.

ScaffoldService
SectionSpec

A named group of edit-form rows (RowSpecs) forming one visual section, produced by DefineFields(IEntityInfo). Lists have no equivalent grouping level.

SelectionContext

Context used by Components that allow selecting one or more entities. Usage is through CascadingParameters.

UnboundCellSpec

A CellSpecBase not backed by a property: it renders from the whole entity row (e.g. an action or open-entity link), so it carries no PropertyBinding. The edit-side equivalent is EntityFieldBase<T>; cells stay a lightweight render fragment because they are display-only, whereas edit fields go through the value/validation machinery.

UnboundCellSpec<T>

An UnboundCellSpec that renders the T component, passing it the row entity.

_Imports

Structs

ListOrdering

A single sort clause for a list view: a modelled property and a direction. Returned from DefineOrdering(IEntityInfo) to override an entity's modelled default sort.

Interfaces

ICommandSpec

Marker interface. Implementers must also implement ICommandSpec<T> for matching entities.

ICommandSpecFactory

A command spec spec for entities implementing a component interface (e.g. IUserAccount).

ICommandSpec<T>

Implement this interface and call AddSpecs(IServiceCollection, Assembly?) to customise entity commands.

ICriteriaSpec

Implement this interface and call AddSpecs(IServiceCollection, Assembly?) to customise criteria views.

IEditSpec

Implement this interface and call AddSpecs(IServiceCollection, Assembly?) to customise edit views.

IFieldParameter
IListSpec

Implement this interface and call AddSpecs(IServiceCollection, Assembly?) to customise list views.

ISectionHeaderComponent
ISectionHeaderComponent<TEntity>

Enums

PredicateResult

Delegates

PropertyBinding
PropertyBinding<T>