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

MethodCallTransformerUtility provides utility methods for MethodCallTransformers.
Afficher le fichier Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static CheckArgumentCount ( MethodCallExpression methodCallExpression ) : void
methodCallExpression System.Linq.Expressions.MethodCallExpression
Résultat void

CheckConstantExpression() public static méthode

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

CheckInstanceMethod() public static méthode

public static CheckInstanceMethod ( MethodCallExpression methodCallExpression ) : void
methodCallExpression System.Linq.Expressions.MethodCallExpression
Résultat void

CheckStaticMethod() public static méthode

public static CheckStaticMethod ( MethodCallExpression methodCallExpression ) : void
methodCallExpression System.Linq.Expressions.MethodCallExpression
Résultat void

GetInstanceMethod() public static méthode

public static GetInstanceMethod ( Type type, string methodName ) : MethodInfo
type System.Type
methodName string
Résultat System.Reflection.MethodInfo

GetStaticMethod() public static méthode

public static GetStaticMethod ( Type type, string methodName ) : MethodInfo
type System.Type
methodName string
Résultat System.Reflection.MethodInfo