Some environments lets you operate on objects by
- Designing them
- Running them
Are there any relevan开发者_如何学Got design patterns (.NET or general) that cleanly separate the following?
- Designer logic / data
- Shared logic / data
- Runtime logic / data
Well, what do you mean by shared logic / data? By designing them (objects), I first think of UI controls, they can have design code, runtime code (also shown while designing - like control painting), and shared data (many controls let you populate their data which is also shown design-time).
As for a design pattern, I would say that here are many distinct responsibilities to be just one big design pattern.
精彩评论