<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.submain.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Samples</title><link>http://community.submain.com/files/folders/rule_samples/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.2)</generator><item><title>Sample: Naming Rule that excludes scope</title><link>http://community.submain.com/files/folders/rule_samples/entry481.aspx</link><pubDate>Mon, 17 Mar 2008 08:51:42 GMT</pubDate><guid isPermaLink="false">e6092f25-edd1-48d7-b80f-8bdb13d630d6:481</guid><dc:creator>Serge B.</dc:creator><slash:comments>0</slash:comments><description>Sample naming rule implementation in C#. For details see this thread - &lt;a href="http://community.submain.com/forums/permalink/186/460/ShowThread.aspx#460"&gt;http://community.submain.com/forums/permalink/186/460/ShowThread.aspx#460&lt;/a&gt;</description><enclosure url="http://community.submain.com/forums/storage/4/460/CustomRules_t459.zip" length="544546" type="application/x-zip-compressed" /></item><item><title>Sample: Field Should Have Underscore Prefix</title><link>http://community.submain.com/files/folders/rule_samples/entry480.aspx</link><pubDate>Mon, 17 Mar 2008 08:20:17 GMT</pubDate><guid isPermaLink="false">e6092f25-edd1-48d7-b80f-8bdb13d630d6:480</guid><dc:creator>Serge B.</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This is complete sample custom rule implementation in VB. &lt;/p&gt;&lt;p&gt;This rule inherits from &lt;strong&gt;NamingRuleBase&lt;/strong&gt; (vs RuleBase) which automatically add another correction option in the dropdown (or the only if you don&amp;#39;t provide any default names) - Rename to ... - this will do all of the ShowRenameDialog work for you. You don&amp;#39;t need to write any code to get this feature. This is just one of the perks of inheriting from NamingRuleBase. &lt;/p&gt;&lt;p&gt;Another perk of inheriting from NamingRuleBase is that, if all your correction does is Rename, you don&amp;#39;t need to implement the actual Correct method - NamingRuleBase already has it implemented and will do the renaming automatically.&lt;/p&gt;&lt;p&gt;Also in this example you will find sample implementation of ViolationDescription and CorrectionDescription properties.&lt;/p&gt;</description><enclosure url="http://community.submain.com/files/folders/480/download.aspx" length="553109" type="application/x-zip-compressed" /></item></channel></rss>