ReflectionExtensions.

GetPropertyInfo<TSender, TRet>(TSender, Expression<Func<TSender, TRet>>) Method

Summary

Reflects out property information based on the expression value
Namespace
Shiny
Containing Type
ReflectionExtensions

Syntax

public static PropertyInfo GetPropertyInfo<TSender, TRet>(this TSender sender, Expression<Func<TSender, TRet>> expression)

Type Parameters

Name Description
TSender
TRet

Parameters

Name Type Description
sender TSender
expression Expression<Func<TSender, TRet>>

Return Value

Type Description
PropertyInfo
GitHub