Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

JsExpression..::..ModelIf<(Of <(<'TParam>)>)> Method

New JavaScript boolean expression using Selector of Model property

Namespace:  Suoranta.WebApp.View.JS
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public static JsExpression ModelIf<TParam>(
	Expression<Func<TParam, bool>> expr
)

Type Parameters

TParam
Type of page Model property

Parameters

expr
Type: Expression<(Of <(<'Func<(Of <(<'TParam, Boolean>)>)>>)>)>

Return Value