<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/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>CSLA .NET discussion</title><link>http://forums.lhotka.net/forums/5.aspx</link><description>General discussion about CSLA .NET</description><dc:language /><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52813.aspx</link><pubDate>Tue, 22 May 2012 21:33:14 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52813</guid><dc:creator>Tiago Freitas Leal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52813.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52813</wfw:commentRss><description>&lt;p&gt;Hi Rocky,&lt;/p&gt;
&lt;p&gt;I can see you posted the changes. I&amp;#39;m posting the updated code for CslaActionExtender and CslaActionExtenderTsb right away.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52812.aspx</link><pubDate>Tue, 22 May 2012 18:51:10 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52812</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52812.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52812</wfw:commentRss><description>&lt;p&gt;Actually I have decided on a different solution to the GetRegisteredProperties issue.&lt;/p&gt;
&lt;p&gt;If you think about it, CSLA has its own &amp;quot;type system&amp;quot; using registered properties. This type system is managed by the PropertyInfoManager type in Csla.Core.FieldManager.&lt;/p&gt;
&lt;p&gt;That type is current internal, but could be public, with only one public member: GetRegisteredProperties.&lt;/p&gt;
&lt;pre style="font-family:Consolas;background:white;color:black;font-size:13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;Returns&amp;nbsp;a&amp;nbsp;copy&amp;nbsp;of&amp;nbsp;the&amp;nbsp;property&amp;nbsp;list&amp;nbsp;for&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;a&amp;nbsp;given&amp;nbsp;business&amp;nbsp;object&amp;nbsp;type.&amp;nbsp;Returns&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;null&amp;nbsp;if&amp;nbsp;there&amp;nbsp;are&amp;nbsp;no&amp;nbsp;properties&amp;nbsp;registered&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;for&amp;nbsp;the&amp;nbsp;type.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;lt;param&amp;nbsp;name=&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;quot;objectType&amp;quot;&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;The&amp;nbsp;business&amp;nbsp;object&amp;nbsp;type.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;lt;remarks&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;Registered&amp;nbsp;property&amp;nbsp;information&amp;nbsp;is&amp;nbsp;only&amp;nbsp;available&amp;nbsp;after&amp;nbsp;at&amp;nbsp;least&amp;nbsp;one&amp;nbsp;instannce&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;of&amp;nbsp;the&amp;nbsp;object&amp;nbsp;type&amp;nbsp;has&amp;nbsp;been&amp;nbsp;created&amp;nbsp;within&amp;nbsp;the&amp;nbsp;current&amp;nbsp;AppDomain.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:gray;"&gt;///&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:gray;"&gt;&amp;lt;/remarks&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue;"&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style="color:#2b91af;"&gt;PropertyInfoList&lt;/span&gt;&amp;nbsp;GetRegisteredProperties(&lt;span style="color:#2b91af;"&gt;Type&lt;/span&gt;&amp;nbsp;objectType)&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;This change will make the type information available to any code in the application, and without the need for an instance of the business object (though at least one instance must have been created prior to invoking this method).&lt;/p&gt;
&lt;p&gt;I like this approach because it avoids cluttering the BusinessBase API, and more closely follows the model of the .NET type system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52806.aspx</link><pubDate>Tue, 22 May 2012 07:05:42 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52806</guid><dc:creator>Tiago Freitas Leal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52806.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52806</wfw:commentRss><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Google is my friend and searching for your text pointed me to the VS2005 page.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/87d83y5b(v=vs.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/87d83y5b(v=vs.80).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nevertheless, a few paragraphs below the same page states:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span class="LW_CollapsibleArea_Title"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="color:#000080;"&gt;Remarks&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/em&gt;&lt;/p&gt;
&lt;div class="LW_CollapsibleArea_HrDiv"&gt;&lt;em&gt;
&lt;hr class="LW_CollapsibleArea_Hr" /&gt;
&lt;/em&gt;&lt;/div&gt;
&lt;div class="sectionblock"&gt;&lt;a id="remarksToggle"&gt;&lt;/a&gt;
&lt;p&gt;&lt;em&gt;An interface can be a member of a namespace or a class and can contain signatures of the following members: &lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms173114(v=vs.80).aspx"&gt;&lt;em&gt;Methods&lt;/em&gt;&lt;/a&gt;&lt;em&gt; &lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/w86s7x04(v=vs.80).aspx"&gt;&lt;em&gt;Properties&lt;/em&gt;&lt;/a&gt;&lt;em&gt; &lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/2549tw02(v=vs.80).aspx"&gt;&lt;em&gt;Indexers&lt;/em&gt;&lt;/a&gt;&lt;em&gt; &lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/8627sbea(v=vs.80).aspx"&gt;&lt;em&gt;Events&lt;/em&gt;&lt;/a&gt;&lt;em&gt; &lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52805.aspx</link><pubDate>Tue, 22 May 2012 06:53:57 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52805</guid><dc:creator>Tiago Freitas Leal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52805.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52805</wfw:commentRss><description>&lt;p&gt;Hi Jonny,&lt;/p&gt;
&lt;p&gt;Something weird is hapening as my browser shows me a totally different text&lt;/p&gt;
&lt;p&gt;&lt;em&gt;An interface contains only the signatures of &lt;/em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms173114.aspx"&gt;&lt;em&gt;methods&lt;/em&gt;&lt;/a&gt;&lt;em&gt;, &lt;/em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/x9fsa0sw.aspx"&gt;&lt;em&gt;properties&lt;/em&gt;&lt;/a&gt;&lt;em&gt;, &lt;/em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/awbftdfh.aspx"&gt;&lt;em&gt;events&lt;/em&gt;&lt;/a&gt;&lt;em&gt; or &lt;/em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/6x16t2tx.aspx"&gt;&lt;em&gt;indexers&lt;/em&gt;&lt;/a&gt;&lt;em&gt;. A class or struct that implements the interface must implement the members of the interface that are specified in the interface definition.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52804.aspx</link><pubDate>Tue, 22 May 2012 03:32:02 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52804</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52804.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52804</wfw:commentRss><description>&lt;p&gt;Hi Tiago,&lt;/p&gt;
&lt;p&gt;You cannot have properties in an interface - only methods, delegates and events. &lt;/p&gt;
&lt;p&gt;From MSDN:&lt;a href="http://msdn.microsoft.com/en-us/library/87d83y5b%28v=vs.100%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/87d83y5b%28v=vs.100%29.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;An interface contains only the signatures of &lt;a href="http://msdn.microsoft.com/en-us/library/ms173114%28v=vs.80%29.aspx"&gt;methods&lt;/a&gt;, &lt;a href="http://msdn.microsoft.com/en-us/library/ms173171%28v=vs.80%29.aspx"&gt;delegates&lt;/a&gt; or &lt;a href="http://msdn.microsoft.com/en-us/library/awbftdfh%28v=vs.80%29.aspx"&gt;events&lt;/a&gt;. The implementation of the methods is done in the class that implements the interface, as shown in the following example:&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;So the purpose is to create a method in an interface (in CSLA or your own Interface as previous in the discussion) that can be mocked easily&lt;/b&gt;&lt;i&gt;&lt;b&gt;.&lt;/b&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52803.aspx</link><pubDate>Tue, 22 May 2012 02:42:41 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52803</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52803.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52803</wfw:commentRss><description>&lt;p&gt;I haven&amp;#39;t figured out which interface should get that method yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52802.aspx</link><pubDate>Mon, 21 May 2012 23:43:11 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52802</guid><dc:creator>Tiago Freitas Leal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52802.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52802</wfw:commentRss><description>&lt;p&gt;Does it conflicts with the changing of GetManagedProperties() method visibility?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52801.aspx</link><pubDate>Mon, 21 May 2012 23:40:21 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52801</guid><dc:creator>Tiago Freitas Leal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52801.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52801</wfw:commentRss><description>&lt;p&gt;Hi Jonny,&lt;/p&gt;
&lt;p&gt;Got the changes.Besides adding a method GetBrokenRules() to ICheckRules&amp;nbsp;I really fail to see the point of this change. This method duplicates the public virtual BrokenRulesCollection property (the difference is that&amp;nbsp;you can&amp;#39;t be override it).&lt;/p&gt;
&lt;p&gt;As it is, I&amp;#39;m not any closer to get the property FriendlyName. I hope the &amp;quot;consolidated public IBusinessBase interface&amp;quot; Rocky mentions some messages back will help in that particular.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52798.aspx</link><pubDate>Mon, 21 May 2012 18:44:02 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52798</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52798.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52798</wfw:commentRss><description>&lt;p&gt;Checked in for both CSLA 4.3 and 4.5&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.lhotka.net/cslabugs/edit_bug.aspx?id=1052"&gt;http://www.lhotka.net/cslabugs/edit_bug.aspx?id=1052 &lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52797.aspx</link><pubDate>Mon, 21 May 2012 17:02:29 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52797</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52797.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52797</wfw:commentRss><description>&lt;p&gt;Good, I&amp;#39;ll do it in a short time. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52796.aspx</link><pubDate>Mon, 21 May 2012 16:31:28 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52796</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52796.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52796</wfw:commentRss><description>&lt;p&gt;The method is currently a public virtual method, and that shouldn&amp;#39;t change. I don&amp;#39;t want to create a breaking change out of this, just add the method to the ICheckRules interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52795.aspx</link><pubDate>Mon, 21 May 2012 15:55:35 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52795</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52795.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52795</wfw:commentRss><description>&lt;p&gt;No, we actually want to return the real list. It is designed for this purpose, and so is read-only for external consumers.&lt;/p&gt;
&lt;p&gt;The reason for exposing the real list, is that it is a bindable list, so a UI developer can bind it to a control on the screen so the user sees the list of broken rules as they occur.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52794.aspx</link><pubDate>Mon, 21 May 2012 15:33:45 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52794</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52794.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52794</wfw:commentRss><description>&lt;p&gt;Should CSLA.Core.BusinessBase.cs expose the method as &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public BrokenRulesCollection GetBrokenRules()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return BrokenRulesCollection;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;or only through interface &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BrokenRulesCollection ICheckRules.GetBrokenRules()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return BrokenRulesCollection;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;or just return an IEnumerable&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IEnumerable&amp;lt;BrokenRule&amp;gt; ICheckRules.GetBrokenRules()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return Enumerable.ToArray(BrokenRulesCollection);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52792.aspx</link><pubDate>Mon, 21 May 2012 14:21:56 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52792</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52792.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52792</wfw:commentRss><description>&lt;p&gt;Yes, that is what I was thinking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Rule FriendlyName property</title><link>http://forums.lhotka.net/forums/thread/52791.aspx</link><pubDate>Mon, 21 May 2012 05:45:15 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52791</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52791.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52791</wfw:commentRss><description>&lt;p&gt;BusinessBase has BrokenRulesCollection as a virtual property and Interface does not accept properties. &lt;/p&gt;
&lt;p&gt;But we could add a new method to ICheckRules as GetBrokenRules() and return that property.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;summary&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// Gets the broken rules for this object&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;/summary&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BrokenRulesCollection ICheckRules.GetBrokenRules()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return BrokenRulesCollection;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>