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

JsExpression Members

The JsExpression type exposes the following members.

Constructors


  Name Description
Public method JsExpression(String, JsModifier)

Methods


  Name Description
Public method Static member Cast(Type, String)
Public method Static member Cast(Type, String, JsExpression)
Public method Static member Constant(Int32)

Return Value

Literal representing integer constant
Public method Static member Constant(DateTime)
Public method Static member Constant(DateTimeOffset)
Public method Static member Constant(String)

Return Value

Literal representing string constant
Public method Equals(System.Object) (Inherited from ValueType.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Public method Static member If
New JavaScript boolean expression from LINQ expression
Public method Static member Is
Public method Static member Lazy
New lazy expression from definition with optional additional modifier
Public method Logic
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member ModelIf<(Of <<'(TParam>)>>)
New JavaScript boolean expression using Selector of Model property
Public method Static member ModelLambda<(Of <<'(TParam, TResult>)>>)

Return Value

JavaScript expression from lambda expression
Public method Static member Replace
Public method Static member Select(JsExpression, LambdaExpression)
Public method Static member Select<(Of <<'(TModel, TProp>)>>)(JsExpression, Expression<(Of <<'(Func<(Of <<'(TModel, TProp>)>>)>)>>))
Public method Static member To
Public method ToString

Properties


  Name Description
Public property Static member Empty
Public property IsEmpty