Hot answers tagged

2 votes
Accepted

Best Way to name derived classes when extending its functionality C#

It sounds very much like you should just be fixing the bug in the original class, not creating a new one. Open-closed does not mean that you never fix bugs in the original class, it just means that it ...
user avatar
2 votes

Multi type HTML dropdown conversion to the corresponding C# object type

Create an expression map The idea here is that the parser be able to generate an object that matches the type of filter/view that the user wants to see, and that object can then be passed on to an ...
user avatar
  • 24.8k
1 vote

Multi type HTML dropdown conversion to the corresponding C# object type

These "view types" are just data bags. The type describes what is in the bag. They don't share any functionality, because there is none. There isn't an interface to inherit. And there aren't ...
user avatar
  • 186k
1 vote

Multi type HTML dropdown conversion to the corresponding C# object type

So there is a fundamental problem in that overloaded methods only work within the OOP framework of the programming language you are using, any serialisation wont pick that up by magic, you need to ...
user avatar
  • 65k

Only top scored, non community-wiki answers of a minimum length are eligible