Table of Contents

Interface IListSpec

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

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

public interface IListSpec

Remarks

Most implementations will inherit from DefaultListSpec<T>.

Methods

DefineColumns(IEntityInfo)

IEnumerable<ColumnSpec> DefineColumns(IEntityInfo metadata)

Parameters

metadata IEntityInfo

Returns

IEnumerable<ColumnSpec>

GetLevel(IEntityInfo, IEntity)

MessageLevel? GetLevel(IEntityInfo metadata, IEntity row)

Parameters

metadata IEntityInfo
row IEntity

Returns

MessageLevel?

Match(IEntityInfo)

bool Match(IEntityInfo metadata)

Parameters

metadata IEntityInfo

Returns

bool