Home All Groups Group Topic Archive Search About

Is there a Generic Collection with events?

Author
8 Feb 2007 1:04 AM
Lee Grissom
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

Author
8 Feb 2007 1:43 AM
Chris Mullins [MVP]
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.
--
Chris Mullins, MCSD.NET, MCPD:Enterprise, MVP C#
http://www.coversant.net/blogs/cmullin
s
Show quote
"Lee Grissom" <lee dot grissom at quest dot com> wrote in message
news:uvUTP0xSHHA.4076@TK2MSFTNGP05.phx.gbl...
> 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
>
Author
8 Feb 2007 9:12 AM
Giulio Petrucci
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
Author
8 Feb 2007 7:50 AM
Henning Krause [MVP - Exchange]
Hello,

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

Best regards,
Henning Krause

Show quote
"Lee Grissom" <lee dot grissom at quest dot com> wrote in message
news:uvUTP0xSHHA.4076@TK2MSFTNGP05.phx.gbl...
> 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
>

AddThis Social Bookmark Button