Class PropertyInfoExtractor

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

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

Methods

Extract(LambdaExpression)

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

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

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

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

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

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

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

Declaration
public static PropertyInfo 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.PropertyInfo
Type Parameters
Name Description
T
TT
In This Article
Back to top Generated by DocFX