<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/Assertion</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 18 Jun 2013 16:05:38 GMT</pubDate>
<item>
<title>(VB.NET) Global System Object extensions for easier conditionals (VB.net example) - bryanlyman</title>
<link>http://snipplr.com/view/59759/global-system-object-extensions-for-easier-conditionals-vbnet-example/</link>
<description><![CDATA[ <p>Because there is no way to use object extenders in vb.net here is an example of how you can get similar functionality. See the C# example for further info.</p> ]]></description>
<pubDate>Fri, 14 Oct 2011 16:45:34 GMT</pubDate>
<guid>http://snipplr.com/view/59759/global-system-object-extensions-for-easier-conditionals-vbnet-example/</guid>
</item>
<item>
<title>(C#) System Object extensions for easier conditionals (Extending Base Object Types) - bryanlyman</title>
<link>http://snipplr.com/view/53894/system-object-extensions-for-easier-conditionals-extending-base-object-types/</link>
<description><![CDATA[ <p>.net 3.0+, To create stability in your code, you must check all inputs into a method to make sure they are valid . Often people overlook this step because of laziness, or because they aren't convinced that exceptions and assertions are actually in place to help you instead of cause you a headache. Here are some extensions which can be used to enhance the System.Object class so that their methods are global to all classes; this makes input checking effortless. This is also somewhat generic in nature because the extensions take no class type in to account before they are called, but we can use type checking to perform different boxing (casting) operations.  Sadly this cannot be done in VB.net because late binding restrictions do not allow the Object class to be extended (See my VB.Net example for further information).</p> ]]></description>
<pubDate>Sat, 21 May 2011 02:48:17 GMT</pubDate>
<guid>http://snipplr.com/view/53894/system-object-extensions-for-easier-conditionals-extending-base-object-types/</guid>
</item>
<item>
<title>(Java) Simple tail like assertion - narkisr</title>
<link>http://snipplr.com/view/4859/simple-tail-like-assertion/</link>
<description><![CDATA[ <p>A simple testing assertion which looks up for a line within a file until a pre defined time frame ends (loosely based upon http://www.informit.com/guides/content.aspx?g=java&amp;seqNum=226).</p> ]]></description>
<pubDate>Thu, 31 Jan 2008 09:00:34 GMT</pubDate>
<guid>http://snipplr.com/view/4859/simple-tail-like-assertion/</guid>
</item>
</channel>
</rss>