G
Guest
All of the BackgroundWorker examples I've seen so far are toy in the sense
that the worker logic is embedded in the form. Normally business logic is
decoupled from presentation. However, I can't see any direct way to implement
the business logic without out a dependency on BackgroundWorker. It would be
fairly simple to write an adapter for whatever events are published by the
business logic component; you'd be duplicating about half the logic of
BackgroundWorker but I think it would be worth it from a safety and
consistency point of view. But I'm wondering what the design intent is here,
since it doesn't seem to documented anywhere. Anyone using this compenent in
the real world? Thx.
that the worker logic is embedded in the form. Normally business logic is
decoupled from presentation. However, I can't see any direct way to implement
the business logic without out a dependency on BackgroundWorker. It would be
fairly simple to write an adapter for whatever events are published by the
business logic component; you'd be duplicating about half the logic of
BackgroundWorker but I think it would be worth it from a safety and
consistency point of view. But I'm wondering what the design intent is here,
since it doesn't seem to documented anywhere. Anyone using this compenent in
the real world? Thx.