<?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 : DelegateVerifier ...</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : DelegateVerifier ...</description>
  <pubDate>Sat, 11 Apr 2026 22:19:10 -700</pubDate>
  <lastBuildDate>Tue, 30 Nov 2010 12:48:39 -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=2330</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>DelegateVerifier ... : Thanks. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2330&amp;PID=9281#9281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=761" rel="nofollow">as123</a><br /><strong>Subject:</strong> 2330<br /><strong>Posted:</strong> 30-Nov-2010 at 12:48pm<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks.]]>
   </description>
   <pubDate>Tue, 30 Nov 2010 12:48:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2330&amp;PID=9281#9281</guid>
  </item> 
  <item>
   <title>DelegateVerifier ... : Hi as123;To use the DelegateVerifier...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2330&amp;PID=9272#9272</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2330<br /><strong>Posted:</strong> 29-Nov-2010 at 5:10pm<br /><br /><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Hi as123;<div><br></div><div>To use the DelegateVerifier constructor with the 4 parameters, you can use the following:</div><div><br></div><div>var verifierArgs = new DelegateVerifierArgs&lt;Employee&gt;(errorMessage, null, Condition);</div><div><span ="apple-style-span"="" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">DelegateVerifier&lt;Employee&gt; v = new DelegateVerifier&lt;Employee&gt;(verifierArgs, errorMessage, null, Condition);</span></div><div><span ="apple-style-span"="" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="apple-style-span"="" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">If that sounds redundant, then you can also use:</span></div><div><span ="apple-style-span"="" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="apple-style-span"="" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">DelegateVerifier&lt;Employee&gt; v = new DelegateVerifier&lt;Employee&gt;(verifierArgs);</span></div></span>]]>
   </description>
   <pubDate>Mon, 29 Nov 2010 17:10:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2330&amp;PID=9272#9272</guid>
  </item> 
  <item>
   <title>DelegateVerifier ... :     When creating a DelegateVerifier...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2330&amp;PID=9208#9208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=761" rel="nofollow">as123</a><br /><strong>Subject:</strong> 2330<br /><strong>Posted:</strong> 22-Nov-2010 at 11:26pm<br /><br /><div>&nbsp;&nbsp; &nbsp; &nbsp;When creating a DelegateVerifier with only errorMessage and Condition, the verifier has the ApplicableType set &nbsp;correctly (checked while debugging) in the trigger link after doing AddTrigger. However, when using the constructor with 4 parameters, the trigger is added successfuly, but the TriggerItem.Type is set to null. Due to this, I believe, the validation is not fired on SetItem.&nbsp;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;Can someone tell me how to resolve this? Do I need to set anything else before creating DelegateVerifier with 4 parameters so that the Applicable Type is set correctly?</div><div><br></div><div>Thanks</div><div><br></div><div>----------------------------------------------------------------------------------------------------------------------------------</div><div>Sample code:</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;string errorMessage;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>// works ok</div><div><div>&nbsp;&nbsp; &nbsp;DelegateVerifier&lt;Employee&gt; v = new DelegateVerifier&lt;Employee&gt;(errorMessage, Condition); //Condition is a method name</div><div><br></div><div>// does not work</div><div>&nbsp;&nbsp; &nbsp;//DelegateVerifier&lt;Employee&gt; v = new DelegateVerifier&lt;Employee&gt;(verifierArgs, errorMessage, null, Condition); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //veriferArgs - created using the default constructor and its Tag set to a custom object;</div><div><br></div><div>&nbsp;&nbsp; &nbsp; v.AddTriggers("ID"); &nbsp;</div></div>]]>
   </description>
   <pubDate>Mon, 22 Nov 2010 23:26:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2330&amp;PID=9208#9208</guid>
  </item> 
 </channel>
</rss>