DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

12
kicks
published 2 months, 2 days ago, submitted by SuperJason SuperJason 2 months, 2 days ago

ytechie.com — I’ll show you how to create a custom attribute for enum values to assign extra information to an enum. In this case, we’ll be associating a user friendly display name.

Add a comment 1 comment | category: | Views: 21 | Get KickIt image code
tags: | tag it

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:
Interesting. I've been using Phil Haack's approach: http://haacked.com/archive/2005/09/24/10334.aspx. It turns camel cased enum values into capitalized phrases.
posted by johnrummell johnrummell 2 months, 2 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge