The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

Reflection.

ExpressionToPropertyNames(Expression) Method

Summary

Will convert a Expression which points towards a property to a string containing the property names. The sub-properties will be separated by the '.' character. Index based values will include [] after the name.
Namespace
ReactiveUI
Containing Type
Reflection

Syntax

public static string ExpressionToPropertyNames(Expression expression)

Parameters

Name Type Description
expression Expression The expression to generate the property names from.

Return Value

Type Description
string A string form for the property the expression is pointing to.