Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / February 2007

Tip: Looking for answers? Try searching our database.

Is there a Generic Collection with events?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lee Grissom - 08 Feb 2007 01:04 GMT
There's Collection<T>, but it doesn't have event hooks for items added or
removed.  I was going to create a descendent that does just that, but before
I do, I want to make sure there isn't already something that exists in the
Framework.

Thanks,
Lee
Chris Mullins [MVP] - 08 Feb 2007 01:43 GMT
There's the BindingList<>. I doubt it's what you want though.

You best best is the set of collections these guys have written:
http://www.itu.dk/research/c5/

Their stuff has all the events and such.
Signature

Chris Mullins, MCSD.NET, MCPD:Enterprise, MVP C#
http://www.coversant.net/blogs/cmullin
s

> There's Collection<T>, but it doesn't have event hooks for items added or
> removed.  I was going to create a descendent that does just that, but
[quoted text clipped - 3 lines]
> Thanks,
> Lee
Giulio Petrucci - 08 Feb 2007 09:12 GMT
Hi Chris,

Chris Mullins [MVP] ha scritto:
> You best best is the set of collections these guys have written:
> http://www.itu.dk/research/c5/

cool stuff!
Thank you for the good shot.

Giulio - Italia
Henning Krause [MVP - Exchange] - 08 Feb 2007 07:50 GMT
Hello,

take a look at System.Collections.ObjectModel.Collection<T>. It's an
extensible typed collection.

Best regards,
Henning Krause

> There's Collection<T>, but it doesn't have event hooks for items added or
> removed.  I was going to create a descendent that does just that, but
[quoted text clipped - 3 lines]
> Thanks,
> Lee

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.