Method GetPropertyAccessor
GetPropertyAccessor<TValue>(object, string)
Declaration
public static PropertyAccessor<TValue> GetPropertyAccessor<TValue>(this object source, string propertyPath)
Parameters
Returns
Type Parameters
GetPropertyAccessor<TSource, TValue>(TSource, Expression<Func<TSource, TValue>>)
Declaration
public static PropertyAccessor<TValue> GetPropertyAccessor<TSource, TValue>(this TSource source, Expression<Func<TSource, TValue>> valueAccessor)
Parameters
Type |
Name |
Description |
TSource |
source |
|
Expression<Func<TSource, TValue>> |
valueAccessor |
|
Returns
Type Parameters
Name |
Description |
TSource |
|
TValue |
|