<?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 for Brent Says...</title>
	<atom:link href="http://brentedwards.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://brentedwards.net</link>
	<description>Technical discussions with Brent Edwards</description>
	<lastBuildDate>Thu, 21 Mar 2013 12:50:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on WPF DataGridRow Double Click With MVVM by miliu</title>
		<link>http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2036</link>
		<dc:creator>miliu</dc:creator>
		<pubDate>Thu, 21 Mar 2013 12:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2036</guid>
		<description>Thanks for sharing. Your approach works, but I tried WiiMaxx&#039;s suggestion and it works too. I believe WiiMaxx&#039;s approach is a better way to do it.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing. Your approach works, but I tried WiiMaxx&#8217;s suggestion and it works too. I believe WiiMaxx&#8217;s approach is a better way to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic WHERE Clause with SQL Server Stored Procedure by William Beckett</title>
		<link>http://brentedwards.net/2009/01/05/dynamic-where-clause-with-sql-server-stored-procedure/#comment-2034</link>
		<dc:creator>William Beckett</dc:creator>
		<pubDate>Wed, 13 Mar 2013 20:39:46 +0000</pubDate>
		<guid isPermaLink="false">/post/Dynamic-WHERE-Clause-with-SQL-Server-Stored-Procedure.aspx#comment-2034</guid>
		<description>This is one of the most amazing tricks I have ever came across in my life.  Thank you so very much!!!! I can&#039;t believe how well it works!!!</description>
		<content:encoded><![CDATA[<p>This is one of the most amazing tricks I have ever came across in my life.  Thank you so very much!!!! I can&#8217;t believe how well it works!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF DataGridRow Double Click With MVVM by Gianfranco</title>
		<link>http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2032</link>
		<dc:creator>Gianfranco</dc:creator>
		<pubDate>Wed, 27 Feb 2013 20:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2032</guid>
		<description>Thank you! this solution can solve many situations..</description>
		<content:encoded><![CDATA[<p>Thank you! this solution can solve many situations..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF DataGridRow Double Click With MVVM by WiiMaxx</title>
		<link>http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2028</link>
		<dc:creator>WiiMaxx</dc:creator>
		<pubDate>Thu, 07 Feb 2013 15:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2028</guid>
		<description>nice my xaml got trimed i hoppe this will work now ...
&amp;lg DataGrid.InputBindings&amp;gt
                &amp;lg MouseBinding Gesture=&quot;LeftDoubleClick&quot; Command=&quot;{Binding EditCommand}&quot;/&amp;gt
                &amp;lg KeyBinding   Key=&quot;Enter&quot;               Command=&quot;{Binding EditCommand}&quot;&#047;&amp;gt
            &amp;lg&#047;DataGrid.InputBindings&amp;gt</description>
		<content:encoded><![CDATA[<p>nice my xaml got trimed i hoppe this will work now &#8230;<br />
&amp;lg DataGrid.InputBindings&amp;gt<br />
                &amp;lg MouseBinding Gesture=&#8221;LeftDoubleClick&#8221; Command=&#8221;{Binding EditCommand}&#8221;/&amp;gt<br />
                &amp;lg KeyBinding   Key=&#8221;Enter&#8221;               Command=&#8221;{Binding EditCommand}&#8221;&#047;&amp;gt<br />
            &amp;lg&#047;DataGrid.InputBindings&amp;gt</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF DataGridRow Double Click With MVVM by WiiMaxx</title>
		<link>http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2027</link>
		<dc:creator>WiiMaxx</dc:creator>
		<pubDate>Thu, 07 Feb 2013 15:43:05 +0000</pubDate>
		<guid isPermaLink="false">http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2027</guid>
		<description>better way to do this in MVVM
xaml part:
            
                
                
            

VM part:
        private RelayCommand _editCommand;
        public ICommand EditCommand
        {
            get { return _editCommand ?? (_editCommand = new RelayCommand(param =&gt; this.canEdit, param =&gt; this.Edit())); }
        }

and it works

RelayCommand &lt;- use her your own interpretation</description>
		<content:encoded><![CDATA[<p>better way to do this in MVVM<br />
xaml part:</p>
<p>VM part:<br />
        private RelayCommand _editCommand;<br />
        public ICommand EditCommand<br />
        {<br />
            get { return _editCommand ?? (_editCommand = new RelayCommand(param =&gt; this.canEdit, param =&gt; this.Edit())); }<br />
        }</p>
<p>and it works</p>
<p>RelayCommand &lt;- use her your own interpretation</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF DataGridRow Double Click With MVVM by Shah</title>
		<link>http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2024</link>
		<dc:creator>Shah</dc:creator>
		<pubDate>Tue, 27 Nov 2012 19:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://brentedwards.net/2012/03/11/wpf-datagridrow-double-click-with-mvvm/#comment-2024</guid>
		<description>Nice work.. Problem Solved. Thnaks for sharing.</description>
		<content:encoded><![CDATA[<p>Nice work.. Problem Solved. Thnaks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Roll Your Own Simple Message Bus / Event Aggregator by Ilia Jerebtsov</title>
		<link>http://brentedwards.net/2010/04/13/roll-your-own-simple-message-bus-event-aggregator/#comment-2022</link>
		<dc:creator>Ilia Jerebtsov</dc:creator>
		<pubDate>Thu, 02 Aug 2012 16:10:10 +0000</pubDate>
		<guid isPermaLink="false">/post/Roll-Your-Own-Simple-Message-Bus-Event-Aggregator.aspx#comment-2022</guid>
		<description>Hmm, I&#039;m not entirely sure you have. Even though you&#039;re wrapping action.Target with a WeakReference, you&#039;re also keeping a strong reference to the action itself in the ActionReference.Target property. This defeats the point, as you&#039;ll always have that reference keeping it alive and uncollectable.</description>
		<content:encoded><![CDATA[<p>Hmm, I&#8217;m not entirely sure you have. Even though you&#8217;re wrapping action.Target with a WeakReference, you&#8217;re also keeping a strong reference to the action itself in the ActionReference.Target property. This defeats the point, as you&#8217;ll always have that reference keeping it alive and uncollectable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Roll Your Own Simple Message Bus / Event Aggregator by Brent Edwards</title>
		<link>http://brentedwards.net/2010/04/13/roll-your-own-simple-message-bus-event-aggregator/#comment-2021</link>
		<dc:creator>Brent Edwards</dc:creator>
		<pubDate>Thu, 02 Aug 2012 03:29:01 +0000</pubDate>
		<guid isPermaLink="false">/post/Roll-Your-Own-Simple-Message-Bus-Event-Aggregator.aspx#comment-2021</guid>
		<description>@Ilia, you are absolutely right. I have addressed that with the message bus implementation for MVVM Fabric: https://github.com/brentedwards/MvvmFabric/tree/master/MvvmFabric/Messaging</description>
		<content:encoded><![CDATA[<p>@Ilia, you are absolutely right. I have addressed that with the message bus implementation for MVVM Fabric: <a href="https://github.com/brentedwards/MvvmFabric/tree/master/MvvmFabric/Messaging" rel="nofollow">https://github.com/brentedwards/MvvmFabric/tree/master/MvvmFabric/Messaging</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Roll Your Own Simple Message Bus / Event Aggregator by Ilia Jerebtsov</title>
		<link>http://brentedwards.net/2010/04/13/roll-your-own-simple-message-bus-event-aggregator/#comment-2020</link>
		<dc:creator>Ilia Jerebtsov</dc:creator>
		<pubDate>Tue, 31 Jul 2012 14:33:49 +0000</pubDate>
		<guid isPermaLink="false">/post/Roll-Your-Own-Simple-Message-Bus-Event-Aggregator.aspx#comment-2020</guid>
		<description>This straightforward approach has one important caveat. When you register a handler into the message bus, you&#039;re keeping a reference to the subscriber. This means that if the subscriber fails to unsubscribe when it&#039;s done receiving messages, the instance will not be garbage collected until the message bus is. 

If your bus is a singleton that exists for the duration of the application, this might cause your subscribers not to get collected in a timely fashion. This is only tolerable if the number of subscribers is small and bounded.

Even if you are diligent to unsubscribe whenever your objects are disposed, you&#039;ve defeated the point of automatic memory management.

A solution that doesn&#039;t have this caveat will need to use WeakReferences to avoid holding on to the subscribers.</description>
		<content:encoded><![CDATA[<p>This straightforward approach has one important caveat. When you register a handler into the message bus, you&#8217;re keeping a reference to the subscriber. This means that if the subscriber fails to unsubscribe when it&#8217;s done receiving messages, the instance will not be garbage collected until the message bus is. </p>
<p>If your bus is a singleton that exists for the duration of the application, this might cause your subscribers not to get collected in a timely fashion. This is only tolerable if the number of subscribers is small and bounded.</p>
<p>Even if you are diligent to unsubscribe whenever your objects are disposed, you&#8217;ve defeated the point of automatic memory management.</p>
<p>A solution that doesn&#8217;t have this caveat will need to use WeakReferences to avoid holding on to the subscribers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Roll Your Own Simple Message Bus / Event Aggregator by Grigory</title>
		<link>http://brentedwards.net/2010/04/13/roll-your-own-simple-message-bus-event-aggregator/#comment-2016</link>
		<dc:creator>Grigory</dc:creator>
		<pubDate>Wed, 06 Jun 2012 21:53:35 +0000</pubDate>
		<guid isPermaLink="false">/post/Roll-Your-Own-Simple-Message-Bus-Event-Aggregator.aspx#comment-2016</guid>
		<description>Hi, nice implementation.
Found minor issue
Unsubscribing in handler leads to exception(changing collection during iteration)
Solutions:
1. Adding SubscribeOnce method (which is usefull anyway)
2. In Publish method iterating over copied collection.</description>
		<content:encoded><![CDATA[<p>Hi, nice implementation.<br />
Found minor issue<br />
Unsubscribing in handler leads to exception(changing collection during iteration)<br />
Solutions:<br />
1. Adding SubscribeOnce method (which is usefull anyway)<br />
2. In Publish method iterating over copied collection.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
