Show / Hide Table of Contents

Class FdlConditionalExpressionEvaluator

Defines the way in which FDL evaluates the Boolean value of different types.

Inheritance
System.Object
FdlConditionalExpressionEvaluator
Namespace: MESL.SqlRace.Domain.Functions.Fdl
Assembly: MESL.SqlRace.Domain.dll
Syntax
public static class FdlConditionalExpressionEvaluator : Object

Methods

Evaluate(Boolean)

Evaluates the specified value.

Declaration
public static bool Evaluate(bool value)
Parameters
Type Name Description
System.Boolean value

if set to true [value].

Returns
Type Description
System.Boolean

The value passed.

Evaluate(Double)

Evaluates the specified value.

Declaration
public static bool Evaluate(double value)
Parameters
Type Name Description
System.Double value

The value.

Returns
Type Description
System.Boolean

[true] if value does not equal zero; [false] otherwise

Evaluate(Int32)

Evaluates the specified value.

Declaration
public static bool Evaluate(int value)
Parameters
Type Name Description
System.Int32 value

The value.

Returns
Type Description
System.Boolean

[true] if value does not equal zero; [false] otherwise

Evaluate<T>(T)

Evaluates the specified value.

Declaration
public static bool Evaluate<T>(T value)
    where T : IConvertible
Parameters
Type Name Description
T value

The value.

Returns
Type Description
System.Boolean

[true] if value can be converted to a double and does not equal zero; [false] otherwise

Type Parameters
Name Description
T

The type.

Back to top Generated by DocFX