Class MethodInfoExtractor

Extracts the underlying System.Reflection.MethodInfo from System.Linq.Expressions.Expressions

Inheritance
System.Object
MethodInfoExtractor
Namespace: Solti.Utils.Primitives
Assembly: Solti.Utils.Primitives.dll
Syntax
public static class MethodInfoExtractor : Object

Methods

Extract(Expression<Action>)

Extracts the underlying System.Reflection.MethodInfo from the given expression

Declaration
public static MethodInfo Extract(Expression<Action> expression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Action> expression
Returns
Type Description
System.Reflection.MethodInfo

Extract(LambdaExpression)

Extracts the underlying System.Reflection.MethodInfo from the given expression

Declaration
public static MethodInfo Extract(LambdaExpression expression)
Parameters
Type Name Description
System.Linq.Expressions.LambdaExpression expression
Returns
Type Description
System.Reflection.MethodInfo

Extract<T>(Expression<Action<T>>)

Extracts the underlying System.Reflection.MethodInfo from the given expression

Declaration
public static MethodInfo Extract<T>(Expression<Action<T>> expression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Action<T>> expression
Returns
Type Description
System.Reflection.MethodInfo
Type Parameters
Name Description
T

Extract<T, TT>(Expression<Action<T, TT>>)

Extracts the underlying System.Reflection.MethodInfo from the given expression

Declaration
public static MethodInfo Extract<T, TT>(Expression<Action<T, TT>> expression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Action<T, TT>> expression
Returns
Type Description
System.Reflection.MethodInfo
Type Parameters
Name Description
T
TT

Extract<T, TT>(Expression<Func<T, TT>>)

Extracts the underlying System.Reflection.MethodInfo from the given expression

Declaration
public static MethodInfo Extract<T, TT>(Expression<Func<T, TT>> expression)
Parameters
Type Name Description
System.Linq.Expressions.Expression<System.Func<T, TT>> expression
Returns
Type Description
System.Reflection.MethodInfo
Type Parameters
Name Description
T
TT
In This Article
Back to top Generated by DocFX