• Post Reply Bookmark Topic Watch Topic
  • New Topic

Factory with generics  RSS feed

 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to be able to create instances of my generic type in generic class, for example:

Any ideas how to create a generic class witch will handle objects creation?

Edit: found an article, http://www.developerdotstar.com/mag/articles/troche_factorychain.html
it's something but not exactly I'd like to see.
Edit: solved by adding "Class T" in factory request.

[ October 12, 2005: Message edited by: dema rogatkin ]
[ October 12, 2005: Message edited by: dema rogatkin ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!