<?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"
	>
<channel>
	<title>Comments on: Dynamic Linq Queries - Contains Operator</title>
	<atom:link href="http://andrewpeters.net/2007/04/24/dynamic-linq-queries-contains-operator/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewpeters.net/2007/04/24/dynamic-linq-queries-contains-operator/</link>
	<description>C# &#38; .NET Development, NHaml, LightSpeed, PowerShell Gadget, Inflector.NET...</description>
	<pubDate>Thu, 28 Aug 2008 15:31:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: John Rusk</title>
		<link>http://andrewpeters.net/2007/04/24/dynamic-linq-queries-contains-operator/#comment-444</link>
		<dc:creator>John Rusk</dc:creator>
		<pubDate>Mon, 10 Mar 2008 02:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/24/dynamic-linq-queries-contains-operator/#comment-444</guid>
		<description>Guess it would run slower though, since would have to compile the expression....</description>
		<content:encoded><![CDATA[<p>Guess it would run slower though, since would have to compile the expression&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Rusk</title>
		<link>http://andrewpeters.net/2007/04/24/dynamic-linq-queries-contains-operator/#comment-443</link>
		<dc:creator>John Rusk</dc:creator>
		<pubDate>Fri, 07 Mar 2008 22:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://andrewpeters.net/2007/04/24/dynamic-linq-queries-contains-operator/#comment-443</guid>
		<description>Thanks.  Just what I needed!

By the way, your Invariant class looks interesting.  Have you tried doing an expression-based version, like this:

Invariant.ArgumentNotEmpty( () =&#62; collection);

I would imagine that you could get the name from the expression.  It's just a shame it can't be written like this:

Invariant.ArgumentNotEmpty( =&#62; collection);

but MS insist on having the empty parentheses.</description>
		<content:encoded><![CDATA[<p>Thanks.  Just what I needed!</p>
<p>By the way, your Invariant class looks interesting.  Have you tried doing an expression-based version, like this:</p>
<p>Invariant.ArgumentNotEmpty( () =&gt; collection);</p>
<p>I would imagine that you could get the name from the expression.  It&#8217;s just a shame it can&#8217;t be written like this:</p>
<p>Invariant.ArgumentNotEmpty( =&gt; collection);</p>
<p>but MS insist on having the empty parentheses.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
