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

Stories recently tagged with 'Enum' Subscribe to this feed
15
kicks
published 4 months, 6 days ago, submitted by crpietschmann crpietschmann 4 months, 7 days ago

pietschsoft.com — Extension Methods are one of the coolest features that have been added in .NET 3.5. I've heard arguments that there is no reason to use them, and the only reason Microsoft added them is to enable the ability to buid LINQ. Well, I do not entirely agree with that statement; in fact, I have found a cool way to use Extension Methods to enhance the System.Enum object since it cannot be inherited. Even though Enum can not be inherited, it can be extended using Extension Methods. Here's the code to an Extension Method that extends the LocalizationMarket Enum with the ToDescriptionString() method that returns the DescriptionAttributes value for the given enum value. read more...

Add a comment 3 comments | category: | Views: 430
tags: , , , , | tag it

2
kicks
submitted by j.monty j.monty 8 months, 3 days ago

xml.indelv.com — Finally a SIMPLE, straight-forward, well thought out way to do DataBinding with an Enum. read more...

Add a comment add a comment | category: | Views: 15
tags: , , , | tag it

5
kicks
submitted by manovich 1 year, 1 month ago

dotnettipoftheday.org — There is one thing you should watch out for when using enumerations. You can cast any integer to an Enum type and you will not get an exception message. read more...

Add a comment add a comment | category: | Views: 2
tags: , | tag it

6
kicks
submitted by ussherm ussherm 1 year, 1 month ago

geekswithblogs.net — A nice use of the .net 3.5 Extension Methods feature that allows you to easily parse a string and get back the Enum value. read more...

Add a comment 1 comment | category: | Views: 8
tags: , , , , | tag it

4
kicks
submitted by KirillOsenkov 1 year, 2 months ago

kirillosenkov.blogspot.com — ... or why do we need the "where T: enum" generic constraint. Kirill Osenkov posts a working sample of a combobox for choosing a value from enum's available values. It is automatically filled with values of the enumeration and has a strongly typed Value property. read more...

Add a comment add a comment | category: | Views: 47
tags: , , , | tag it

52
kicks
published 1 year, 2 months ago, submitted by bennage bennage 1 year, 2 months ago

devlicious.com — Some description of a help class for working with Enumerations. read more...

Add a comment 1 comment | category: | Views: 12
tags: , , , | tag it

1
kicks
submitted by sunside 1 year, 3 months ago

mac.defx.de — Instruction on how to extract an XmlAttribute from a Member, in particular the XmlEnumAttribute from a enum member. read more...

Add a comment add a comment | category: | Views: 18
tags: , , , , | tag it

2
kicks
submitted by dwhittaker 1 year, 5 months ago

devlicio.us — This will check to see if a value (string or int) is a match for a enum. read more...

Add a comment add a comment | category: | Views: 4
tags: , , | tag it

22
kicks
published 1 year, 9 months ago, submitted by JamesCurran 1 year, 9 months ago

honestillusion.com — Using generics for things other than creating collections (Enums this time). Advanced generics use read more...

Add a comment add a comment | category: | Views: 6
tags: , , , | tag it

21
kicks
published 1 year, 10 months ago, submitted by fatdaveh 1 year, 10 months ago

geekzilla.co.uk — A quick and easy tip for converting strings back to Enum types. read more...

Add a comment 2 comments | category: | Views: 3
tags: , | tag it

17
kicks
published 2 years, 2 months ago, submitted by jfollas jfollas 2 years, 2 months ago

diditwith.net — Dustin Campbell (Developer Express' Senior "Whipping Boy") discusses improvements that should be made in order to round out the Enumeration data type in .NET (to provide for both increased functionality and improved readability of code that uses enums). read more...

Add a comment add a comment | category: | Views: 0
tags: , , , , | tag it

15
kicks
published 2 years, 4 months ago, submitted by gavinjoyce gavinjoyce 2 years, 4 months ago

weblogs.asp.net — A nice little generic enum parser utility class read more...

Add a comment 1 comment | category: | Views: 26
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge