<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to get property name from lambda</title>
	<atom:link href="http://www.limilabs.com/blog/property-name-from-lambda/feed" rel="self" type="application/rss+xml" />
	<link>http://www.limilabs.com/blog/property-name-from-lambda?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=property-name-from-lambda</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 13:28:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Stephane</title>
		<link>http://www.limilabs.com/blog/property-name-from-lambda#comment-1426</link>
		<dc:creator>Stephane</dc:creator>
		<pubDate>Thu, 22 Sep 2011 10:51:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=472#comment-1426</guid>
		<description>Thanks, works perfectly. Just what I was looking for.</description>
		<content:encoded><![CDATA[<p>Thanks, works perfectly. Just what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: INotifyPropertyChanged with lambdas</title>
		<link>http://www.limilabs.com/blog/property-name-from-lambda#comment-1425</link>
		<dc:creator>INotifyPropertyChanged with lambdas</dc:creator>
		<pubDate>Mon, 23 May 2011 15:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=472#comment-1425</guid>
		<description>[...]         &#160;     ProtocolExHow to get property name from lambda Email template engine [...] </description>
		<content:encoded><![CDATA[<p>[...]         &nbsp;     ProtocolExHow to get property name from lambda Email template engine [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/property-name-from-lambda#comment-1424</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Mon, 05 Apr 2010 20:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=472#comment-1424</guid>
		<description>Could you write a unit test for this situation?</description>
		<content:encoded><![CDATA[<p>Could you write a unit test for this situation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://www.limilabs.com/blog/property-name-from-lambda#comment-1423</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Fri, 02 Apr 2010 12:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=472#comment-1423</guid>
		<description>Actually i maid a small mistake , you shoud pass expression.body in case of LambdaExpression, because LambdaExpression itself is not member expression and you&#039;re code will throw an exception otherwise</description>
		<content:encoded><![CDATA[<p>Actually i maid a small mistake , you shoud pass expression.body in case of LambdaExpression, because LambdaExpression itself is not member expression and you&#8217;re code will throw an exception otherwise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/property-name-from-lambda#comment-1422</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Fri, 02 Apr 2010 08:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=472#comment-1422</guid>
		<description>Why?</description>
		<content:encoded><![CDATA[<p>Why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://www.limilabs.com/blog/property-name-from-lambda#comment-1421</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Thu, 01 Apr 2010 21:02:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=472#comment-1421</guid>
		<description>I think you have to modify GetMemberName at least a little, and put the following code in the begining
&lt;code&gt;
if (expression is LambdaExpression)
            {
                var lambdaExpression = (LambdaExpression)expression;
                var compiled = lambdaExpression.Compile();

                if (lambdaExpression.Body.NodeType == ExpressionType.MemberAccess)
                {
                    return GetMemberName(lambdaExpression.Body);
                }
            }

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I think you have to modify GetMemberName at least a little, and put the following code in the begining<br />
<code><br />
if (expression is LambdaExpression)<br />
            {<br />
                var lambdaExpression = (LambdaExpression)expression;<br />
                var compiled = lambdaExpression.Compile();</p>
<p>                if (lambdaExpression.Body.NodeType == ExpressionType.MemberAccess)<br />
                {<br />
                    return GetMemberName(lambdaExpression.Body);<br />
                }<br />
            }</p>
<p></code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

