﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>NPehrsson commented on Refactor This: Results</title><description>Yeah get rid of the ugly out parameter and rename it to something else.
  
It were quit close to the solution I provided :)
</description><link>http://ayende.com/4453/refactor-this-results#comment4</link><guid>http://ayende.com/4453/refactor-this-results#comment4</guid><pubDate>Tue, 06 Apr 2010 15:45:45 GMT</pubDate></item><item><title>Ken Egozi commented on Refactor This: Results</title><description>nice.
  
  
I'd replace the SuccessfulCompletion method to return a struct of two booleans, IsSuccessful and WasDisposed
  
@ICR: Better than having an unneeded member, and nicer than the out param
</description><link>http://ayende.com/4453/refactor-this-results#comment3</link><guid>http://ayende.com/4453/refactor-this-results#comment3</guid><pubDate>Tue, 06 Apr 2010 14:19:58 GMT</pubDate></item><item><title>Jeff Sternal commented on Refactor This: Results</title><description>Isn't there some way to make the creator of the TransactionScope responsible for disposing it? It's hard to see why that should be a concern of this method or class.
</description><link>http://ayende.com/4453/refactor-this-results#comment2</link><guid>http://ayende.com/4453/refactor-this-results#comment2</guid><pubDate>Tue, 06 Apr 2010 13:27:38 GMT</pubDate></item><item><title>[ICR] commented on Refactor This: Results</title><description>Why not put txDisposed as a member of the class? That would avoid the ugly out parameter.
</description><link>http://ayende.com/4453/refactor-this-results#comment1</link><guid>http://ayende.com/4453/refactor-this-results#comment1</guid><pubDate>Tue, 06 Apr 2010 11:43:38 GMT</pubDate></item></channel></rss>