Skip to content

OptionsExtensions.GetPropertyName<T,TProperty> method

Returns the name of the property used in an expression.

public static string GetPropertyName<T, TProperty>(Expression<Func<T, TProperty>> expression)
parameter description
T
TProperty
expression expression

See Also