design-patterns
Should entities have the capability to draw themselves? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-04-13 09:38 分类:问答Event for "attempted" property changes
(using .Net 3.5)I have a routine that imports settings from an external datasource, after which I need to display a pseudo-log to the user detailing which properties have been updated. Usually I would[详细]
2023-04-13 08:30 分类:问答"Base class params are not always used" code smell
Suppose you had such code: public Base { abstract void Register(); } public Registrator1: Base { override void Register()[详细]
2023-04-13 07:20 分类:问答Design Pattern for Make a Mind Mapping Application [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-13 03:37 分类:问答Advanced C# pattern search in long string (100-25000 char)
L开发者_Go百科et me start with this: I can\'t zip it or anything similar. What I\'m trying to do is search through fairly large strings. I use data blocks that look like 0g12h. (The 0 is the color fr[详细]
2023-04-13 03:15 分类:问答Is there a reference point or repository where I can find common design pattern implementations in MS .Net framework?
Basically, I just want to see the design patterns in action in the MS .Net framework itself. For e.g. we can look at the stream classes and see how MS implemented the decorator pattern. Is there a way[详细]
2023-04-13 03:03 分类:问答Approach on how to know if components (spring/jetty) are fully initialized
I have a backend server (Jetty) that processes HTTP requests and interacts with a MySQL database. It is all wired-up with Spring.[详细]
2023-04-13 03:02 分类:问答Basic4Android Vibration pattern
I\'m trying to create an application that have different vibration patterns. I\'ve seen that the PhoneVibrate class has only a Vibrate(TimeMs as Long) function.[详细]
2023-04-13 02:59 分类:问答Can the Presenter have state? (MVP pattern)
I\'m reading about the Model-View-Presenter pattern, and I\'m a bit confused: can a presenter have state? Or is the task of the Presenter to only group methods together containing business l开发者_Sta[详细]
2023-04-13 02:39 分类:问答Same object to read and to contain results
The IDataReader interface inherits from IDataRecord. The Read() method changes the state of the reader so that you can retrieve the fields:[详细]
2023-04-12 23:32 分类:问答