Table of Contents

Class CellSpec<T, U>

Namespace
The.Web.Entities
Assembly
Instagile.Web.Client.dll
public class CellSpec<T, U> : CellSpec where T : IHasChanges where U : CellBase<T>

Type Parameters

T
U
Inheritance
CellSpec<T, U>
Inherited Members

Constructors

CellSpec(string, int, HeaderSpec?, bool, params RelationshipInfo[])

public CellSpec(string label, int order, HeaderSpec? header = null, bool isAdminOnly = false, params RelationshipInfo[] preloads)

Parameters

label string
order int
header HeaderSpec
isAdminOnly bool
preloads RelationshipInfo[]

CellSpec(string, int, HeaderSpec?, params RelationshipInfo[])

public CellSpec(string label, int order, HeaderSpec? header, params RelationshipInfo[] preloads)

Parameters

label string
order int
header HeaderSpec
preloads RelationshipInfo[]

CellSpec(string, int, HeaderSpec?, RelationshipInfo[], bool)

protected CellSpec(string label, int order, HeaderSpec? header, RelationshipInfo[] preloads, bool isAdminOnly)

Parameters

label string
order int
header HeaderSpec
preloads RelationshipInfo[]
isAdminOnly bool

CellSpec(PropertyInfo, HeaderSpec?)

public CellSpec(PropertyInfo metadata, HeaderSpec? header = null)

Parameters

metadata PropertyInfo
header HeaderSpec

Methods

Component<V>()

public virtual CellSpec<T, V> Component<V>() where V : CellBase<T>

Returns

CellSpec<T, V>

Type Parameters

V

Hidden()

public CellSpec<T, U> Hidden()

Returns

CellSpec<T, U>

HiddenIf(Func<IServices, bool>)

public CellSpec<T, U> HiddenIf(Func<IServices, bool> predicate)

Parameters

predicate Func<IServices, bool>

Returns

CellSpec<T, U>

Rename(Func<IServices, string>)

public CellSpec<T, U> Rename(Func<IServices, string> getLabel)

Parameters

getLabel Func<IServices, string>

Returns

CellSpec<T, U>

Rename(string)

public CellSpec<T, U> Rename(string label)

Parameters

label string

Returns

CellSpec<T, U>

Reorder(Func<IServices, int>)

public CellSpec<T, U> Reorder(Func<IServices, int> getOrder)

Parameters

getOrder Func<IServices, int>

Returns

CellSpec<T, U>

Reorder(int)

public CellSpec<T, U> Reorder(int order)

Parameters

order int

Returns

CellSpec<T, U>

Visible()

public CellSpec<T, U> Visible()

Returns

CellSpec<T, U>

VisibleIf(Func<IServices, bool>)

public CellSpec<T, U> VisibleIf(Func<IServices, bool> predicate)

Parameters

predicate Func<IServices, bool>

Returns

CellSpec<T, U>