C# Class ExpressionToCodeLib.Internal.EqualityExpressions

Show file Open project: EamonNerbonne/ExpressionToCode

Public Methods

Method Description
CheckForEquality ( Expression e ) : EqualityExpressionClass
DisagreeingEqualities ( Expression left, Expression right, bool shouldBeEqual ) : bool>>.IEnumerable
DisagreeingEqualities ( Expression e ) : bool>>.IEnumerable
ExtractEqualityType ( Expression e ) : Tuple
ExtractEqualityType ( Expression e ) : Tuple

Private Methods

Method Description
EvalBoolExpr ( Expression e ) : bool?
EvalBoolFunc ( Func func ) : bool?
EvalBoolLambda ( Expression e ) : bool?
GetGenericInterfaceImplementation ( Type type, Type genericInterfaceType ) : IEnumerable
HaveSameGenericDefinition ( MethodInfo a, MethodInfo b ) : bool
IsImplementationOfGenericInterfaceMethod ( MethodInfo method, Type genericInterfaceType, string methodName ) : bool
IsImplementationOfInterfaceMethod ( MethodInfo method, Type interfaceType, string methodName ) : bool
ToConstantExpr ( Expression e ) : ConstantExpression

Method Details

CheckForEquality() public static method

public static CheckForEquality ( Expression e ) : EqualityExpressionClass
e Expression
return EqualityExpressionClass

DisagreeingEqualities() public static method

public static DisagreeingEqualities ( Expression left, Expression right, bool shouldBeEqual ) : bool>>.IEnumerable
left System.Linq.Expressions.Expression
right System.Linq.Expressions.Expression
shouldBeEqual bool
return bool>>.IEnumerable

DisagreeingEqualities() public static method

public static DisagreeingEqualities ( Expression e ) : bool>>.IEnumerable
e Expression
return bool>>.IEnumerable

ExtractEqualityType() public static method

public static ExtractEqualityType ( Expression e ) : Tuple
e System.Linq.Expressions.Expression
return Tuple

ExtractEqualityType() public static method

public static ExtractEqualityType ( Expression e ) : Tuple
e Expression
return Tuple