C# Class Remotion.Linq.SqlBackend.BooleanUtility

Provides utility functions around boolean expressions.
Exibir arquivo Open project: re-motion/Relinq-SqlBackend

Public Methods

Method Description
ConvertNullableIntToNullableBool ( int nullableValue ) : bool?
GetIntToBoolConversionMethod ( Type intType ) : MethodInfo
GetMatchingBoolType ( Type type ) : Type
GetMatchingIntType ( Type type ) : Type
IsBooleanType ( Type type ) : bool

Method Details

ConvertNullableIntToNullableBool() public static method

public static ConvertNullableIntToNullableBool ( int nullableValue ) : bool?
nullableValue int
return bool?

GetIntToBoolConversionMethod() public static method

public static GetIntToBoolConversionMethod ( Type intType ) : MethodInfo
intType System.Type
return System.Reflection.MethodInfo

GetMatchingBoolType() public static method

public static GetMatchingBoolType ( Type type ) : Type
type System.Type
return System.Type

GetMatchingIntType() public static method

public static GetMatchingIntType ( Type type ) : Type
type System.Type
return System.Type

IsBooleanType() public static method

public static IsBooleanType ( Type type ) : bool
type System.Type
return bool