DesignByContract with Fluent Interfaces(lostechies.com)

submitted by brianjlowrybrianjlowry(640) 4 years, 7 months ago

I was reading through some blog posts and through a recent post, stumbled across this one from Bill McCafferty and took a look at the DesignByContract CodeProject article. This is just a simple utility class to pass in assertions and get an exception to be thrown with a message if the contract has been violated.

3 comments |category: |Views: 17

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by brianjlowrybrianjlowry(640) 4 years, 7 months ago 0

It would be nice if DotNetKicks allowed editors to edit their description... I should have put quotes around the description. Just a thought...

Reply

posted by gavinjoycegavinjoyce(25.7k) 4 years, 7 months ago 0

I'm sure we will at some point in the future. Would you like to implement this feature and submit a patch?

Reply

posted by brianjlowrybrianjlowry(640) 4 years, 7 months ago 0

I might just do that... let me get a looming project out of the way first. :d

Reply

information Login or create an account to comment on this story