I have three assemblies: \"Framework.DataAccess\", \"Framework.DataAccess.NHibernateProvider\" and \"Company.DataAccess\". Inside the assembly \"Framework.DataAccess\", I have my factory (with the wro
What is the difference between Activator.CreateInstance and factory? Can they be used interchangeably? Or stil do we need a fac开发者_开发百科tory pattern?Activator.CreateInstance is a static method t
We\'re building a ThreadFactory so everytime a singleton controller needs a new thread, i get a new instance everytime.
I\'m building a java web media-scraping application for extracting content from a variety of popular websites: youtube, facebook, rapidshare, and so on.
I see the word thrown around often, and I may have used it myself in code and libraries over time, but I never really got it. In most wri开发者_C百科te-ups I came across, they just went on expecting y
I have a class class ObjPool { MyObject getObject() {...} void returnObject() {...} int getUsedCount() {.开发者_C百科..}
I want to add class atttributes to a superclass dynamically. Furthermore, I want to create classes that inherit from this superclass dynamically, and the name of those subclasses should depend on user
I found a lot of links on metaclasses, and most of them mention that they are useful for implementin开发者_JS百科g factory methods. Can you show me an example of using metaclasses to implement the des
So I\'m working to improve an existing implementation. I have a number of polymorphic classes that are all composed into a higher level container class. The problem I\'m dealing with at the moment is
I want to create a voting system, where multiple domain objects can be voted on: a calendar event a comment