<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : need to get Verification errors on property setters</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : need to get Verification errors on property setters</description>
  <pubDate>Mon, 13 Apr 2026 13:05:28 -700</pubDate>
  <lastBuildDate>Fri, 26 Feb 2010 14:26:34 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1654</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>need to get Verification errors on property setters : Tim:You can do this using a VerifierBatchInterceptor....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1654&amp;PID=6266#6266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1654<br /><strong>Posted:</strong> 26-Feb-2010 at 2:26pm<br /><br />Tim:<br><br>You can do this using a VerifierBatchInterceptor. See the section in the Validation Through Verification document (in the Learning Resources) entitled, "Monitor Execution with the VerifierBatchInterceptor".<br><br>Each setter will trigger a "batch" of verifier executions (since there can potentially be multiple verifiers triggered by setting any particular property). The interceptor will get called once for each, but has an EndOfBatch flag that gets set to true when a batch is complete.&nbsp; (Running an instance verification also triggers a single batch of verifier executions.)<br><br>The VerifierContext parameter for the VerifierBatchInterceptor delegate will accumulate a collection of VerifierResults for each batch. So you can check in the interceptor to see when EndOfBatch = true, then process the collection of VerifierResults to populate your tree control.<br><br>]]>
   </description>
   <pubDate>Fri, 26 Feb 2010 14:26:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1654&amp;PID=6266#6266</guid>
  </item> 
  <item>
   <title>need to get Verification errors on property setters : I am running the LightHouse WPF...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1654&amp;PID=6242#6242</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=643" rel="nofollow">downeytim</a><br /><strong>Subject:</strong> 1654<br /><strong>Posted:</strong> 22-Feb-2010 at 6:52pm<br /><br />I am running the LightHouse WPF sample.&nbsp; When I open the employees panel and change the Hire Date to an invalid date I can see the error on the screen in your sample code.&nbsp; I need to display all these types of verification results in a tree view control.&nbsp; <DIV>&nbsp;</DIV><DIV>I have about 10 different objects in play at a time in my application.&nbsp; Many of the fields on these objects will have verifiers that will run on property change.&nbsp; I need to capture the verification errors and place them all in a tree view.&nbsp; I can't run an Instance Verification run every time a property changes so I have to get the errors from each property change.</DIV><DIV>&nbsp;</DIV><DIV>How do you capture the verification error&nbsp;messages when the setters kick off a verification?</DIV>]]>
   </description>
   <pubDate>Mon, 22 Feb 2010 18:52:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1654&amp;PID=6242#6242</guid>
  </item> 
 </channel>
</rss>