C# Class Sage.XsltExtensions.Basic

Afficher le fichier Open project: igorfrance/sage

Méthodes publiques

Méthode Description
iif ( bool condition, object result1, object result2 ) : object

Tests the specified condition and returns result1 if condition is true, or result2 if condition is false

isnull ( object result1, object result2 ) : object

Returns either of two specified values that is not null.

Method Details

iif() public méthode

Tests the specified condition and returns result1 if condition is true, or result2 if condition is false
public iif ( bool condition, object result1, object result2 ) : object
condition bool The condition to test
result1 object The value to return if is true.
result2 object The value to return if is false.
Résultat object

isnull() public méthode

Returns either of two specified values that is not null.
public isnull ( object result1, object result2 ) : object
result1 object The first value to consider.
result2 object The value to return if is null.
Résultat object