factory-pattern
Dynamic Inheritance using a factory
I think I know the answer to this, but I\'m hoping someone has a neat solution. We are currently using two kinds of drop down controls (Telerik and .Net). I\'m hoping to combine these into one control[详细]
2023-01-19 09:00 分类:问答Could I use the Factory Pattern in this scenario?
I was wondering if I could - and how - I could use the Factory Pattern in this scena开发者_运维问答rio?[详细]
2023-01-18 22:39 分类:问答Dynamic base class and factories
I have following code: class EntityBase (object) : __entity__ = None def __init__ (self) : pass def entity (name) :[详细]
2023-01-17 05:30 分类:问答Abstracting the DataLayer (DAL) of a three-tier application
As continuation to my previous question, (see h开发者_C百科ttps://stackoverflow.com/questions/3737848/creating-a-loosely-coupled-scalable-software-architecture[详细]
2023-01-16 12:58 分类:问答Factory pattern for test and live web services
Can web services be used in a factory pattern given that the code is auto-generated and I do not want to alter it (to add a base class for example)?[详细]
2023-01-16 06:20 分类:问答Activator.CreateInstance: Dynamic Instantiation of Classes
I am designing a loosely-coupled structure. I want to call classes from different assemblies/namespaces via a code which is represented by a String. My design is, each of client\'s business rules is o[详细]
2023-01-16 05:03 分类:问答Flexible application configuration in C++
I am developing a C++ application used to simulate a real world scenario. Based on this simulation our team is going to develop, test and evaluate different algorithms working within such a real world[详细]
2023-01-15 21:27 分类:问答Question about Factory Design Architecture
Consider this example The Interface interface IBusinessRules { string Perform(); } The Inheritors class Client1BusinessRules: IBusinessRules[详细]
2023-01-15 15:04 分类:问答Create generic class with internal constructor
Is it possible to construct an object with its internal constructor within a generic method? public abstract class FooBase { }[详细]
2023-01-14 19:25 分类:问答Object factory implementation
I`m want to create an object factory in C#. I want my objects to be created only via this object factory, how to achieve this? I know how to make a simple object factory, like satic class with public[详细]
2023-01-13 09:27 分类:问答