|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Is there a Generic Collection with events?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 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. 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 > Hi Chris,
Chris Mullins [MVP] ha scritto: cool stuff! Thank you for the good shot. Giulio - Italia 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 > |
|||||||||||||||||||||||