<?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: Cinch : More good news (again sorry)</title>
	<atom:link href="http://sachabarber.net/?feed=rss2&#038;p=629" rel="self" type="application/rss+xml" />
	<link>http://sachabarber.net/?p=629</link>
	<description></description>
	<lastBuildDate>Thu, 02 Sep 2010 07:30:57 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Roberto Dalmonte</title>
		<link>http://sachabarber.net/?p=629&#038;cpage=1#comment-5135</link>
		<dc:creator>Roberto Dalmonte</dc:creator>
		<pubDate>Sat, 10 Apr 2010 14:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://sachabarber.net/?p=629#comment-5135</guid>
		<description>Hi Sacha, I&#039;m using ample portions of your Cinch framework and I find it WONDERFUL. I FxCopped the portions I&#039;m using and and found a useful suggestion:

Instead of 

private static SimpleRule firstNameRule;
 static CustomerModel()
        {

            firstNameRule = new SimpleRule(&quot;DataValue&quot;, &quot;Firstname can not be empty&quot;,
                      (Object domainObject)=&gt;
                      {
                          DataWrapper obj = (DataWrapper)domainObject;
                          return String.IsNullOrEmpty(obj.DataValue);
                      });
}

use:

private static SimpleRule firstNameRule = new SimpleRule(&quot;DataValue&quot;, &quot;Firstname can not be empty&quot;,
      (Object domainObject) =&gt;
      {
          DataWrapper obj = (DataWrapper)domainObject;
          return String.IsNullOrEmpty(obj.DataValue);
      });

This way, as FxCop says, you can get rid of the Static Constructor and instantiate the SimpleRule in the very same moment you declare it, gaining some performance improvement.
Appears reasonable to me. Do you think is a proper thing to do?
Best regards.
Roberto
BTW did you become a father already?
In a couple of weeks I&#039;ll have my third boy.</description>
		<content:encoded><![CDATA[<p>Hi Sacha, I&#8217;m using ample portions of your Cinch framework and I find it WONDERFUL. I FxCopped the portions I&#8217;m using and and found a useful suggestion:</p>
<p>Instead of </p>
<p>private static SimpleRule firstNameRule;<br />
 static CustomerModel()<br />
        {</p>
<p>            firstNameRule = new SimpleRule(&#8221;DataValue&#8221;, &#8220;Firstname can not be empty&#8221;,<br />
                      (Object domainObject)=&gt;<br />
                      {<br />
                          DataWrapper obj = (DataWrapper)domainObject;<br />
                          return String.IsNullOrEmpty(obj.DataValue);<br />
                      });<br />
}</p>
<p>use:</p>
<p>private static SimpleRule firstNameRule = new SimpleRule(&#8221;DataValue&#8221;, &#8220;Firstname can not be empty&#8221;,<br />
      (Object domainObject) =&gt;<br />
      {<br />
          DataWrapper obj = (DataWrapper)domainObject;<br />
          return String.IsNullOrEmpty(obj.DataValue);<br />
      });</p>
<p>This way, as FxCop says, you can get rid of the Static Constructor and instantiate the SimpleRule in the very same moment you declare it, gaining some performance improvement.<br />
Appears reasonable to me. Do you think is a proper thing to do?<br />
Best regards.<br />
Roberto<br />
BTW did you become a father already?<br />
In a couple of weeks I&#8217;ll have my third boy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sacha</title>
		<link>http://sachabarber.net/?p=629&#038;cpage=1#comment-4840</link>
		<dc:creator>sacha</dc:creator>
		<pubDate>Tue, 02 Feb 2010 14:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://sachabarber.net/?p=629#comment-4840</guid>
		<description>Cool, go for it. Post a comment here when you are done, I&#039;d like a look</description>
		<content:encoded><![CDATA[<p>Cool, go for it. Post a comment here when you are done, I&#8217;d like a look</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frosty</title>
		<link>http://sachabarber.net/?p=629&#038;cpage=1#comment-4838</link>
		<dc:creator>frosty</dc:creator>
		<pubDate>Tue, 02 Feb 2010 13:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://sachabarber.net/?p=629#comment-4838</guid>
		<description>Hello Sacha,

As I commented on CodePlex, I&#039;ve found your Cinch and documentation to be most helpful.  However, I&#039;m trying to take some elements of Prism and use some of the things in Cinch and mix and Match. 

My mindset has been to focus on modules and in your sames, you use your own display methods. 

I tried to find your contact info but haven&#039;t had any success.

At anypoint, I&#039;m going to start new assembly and pick and match things I find useful.  Much of what you claim to have done with Cinch.

But I wanted to let you now before I got started into it.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello Sacha,</p>
<p>As I commented on CodePlex, I&#8217;ve found your Cinch and documentation to be most helpful.  However, I&#8217;m trying to take some elements of Prism and use some of the things in Cinch and mix and Match. </p>
<p>My mindset has been to focus on modules and in your sames, you use your own display methods. </p>
<p>I tried to find your contact info but haven&#8217;t had any success.</p>
<p>At anypoint, I&#8217;m going to start new assembly and pick and match things I find useful.  Much of what you claim to have done with Cinch.</p>
<p>But I wanted to let you now before I got started into it.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sacha</title>
		<link>http://sachabarber.net/?p=629&#038;cpage=1#comment-4701</link>
		<dc:creator>sacha</dc:creator>
		<pubDate>Thu, 24 Dec 2009 19:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://sachabarber.net/?p=629#comment-4701</guid>
		<description>Yeah I like it, very easy to setup and use, well done. Thanks</description>
		<content:encoded><![CDATA[<p>Yeah I like it, very easy to setup and use, well done. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp</title>
		<link>http://sachabarber.net/?p=629&#038;cpage=1#comment-4699</link>
		<dc:creator>Philipp</dc:creator>
		<pubDate>Thu, 24 Dec 2009 16:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://sachabarber.net/?p=629#comment-4699</guid>
		<description>Great news, Sacha!

I&#039;m very happy the framework made it into Cinch - given Cinch is really quite awesome, this might get our little façade quite a boost. Hope SLF will serve you well :)</description>
		<content:encoded><![CDATA[<p>Great news, Sacha!</p>
<p>I&#8217;m very happy the framework made it into Cinch &#8211; given Cinch is really quite awesome, this might get our little façade quite a boost. Hope SLF will serve you well <img src='http://sachabarber.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
