C# Class Remotion.Linq.SqlBackend.SqlPreparation.MethodCallTransformers.MethodCallTransformerUtility

MethodCallTransformerUtility provides utility methods for MethodCallTransformers.
Datei anzeigen Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
CheckArgumentCount ( MethodCallExpression methodCallExpression ) : void
CheckConstantExpression ( string methodName, Expression argument, string parameterName ) : ConstantExpression
CheckInstanceMethod ( MethodCallExpression methodCallExpression ) : void
CheckStaticMethod ( MethodCallExpression methodCallExpression ) : void
GetInstanceMethod ( Type type, string methodName ) : MethodInfo
GetStaticMethod ( Type type, string methodName ) : MethodInfo

Method Details

CheckArgumentCount() public static method

public static CheckArgumentCount ( MethodCallExpression methodCallExpression ) : void
methodCallExpression System.Linq.Expressions.MethodCallExpression
return void

CheckConstantExpression() public static method

public static CheckConstantExpression ( string methodName, Expression argument, string parameterName ) : ConstantExpression
methodName string
argument System.Linq.Expressions.Expression
parameterName string
return System.Linq.Expressions.ConstantExpression

CheckInstanceMethod() public static method

public static CheckInstanceMethod ( MethodCallExpression methodCallExpression ) : void
methodCallExpression System.Linq.Expressions.MethodCallExpression
return void

CheckStaticMethod() public static method

public static CheckStaticMethod ( MethodCallExpression methodCallExpression ) : void
methodCallExpression System.Linq.Expressions.MethodCallExpression
return void

GetInstanceMethod() public static method

public static GetInstanceMethod ( Type type, string methodName ) : MethodInfo
type System.Type
methodName string
return System.Reflection.MethodInfo

GetStaticMethod() public static method

public static GetStaticMethod ( Type type, string methodName ) : MethodInfo
type System.Type
methodName string
return System.Reflection.MethodInfo