WebFlowObserver, WebFlowSubject
These are two base classes used to decouple WebFlow objects from their visual representation.
The WebFlowObserver registers with the WebFlowSubject. The WebFlowSubject then notifies the
WebFlowObserver of any changes. For example, the WebFlowContext and
VisualWebFlowModule are both observers of
WebFlowModules.
WebFlowObserver Fields
WebFlowObserver Methods
- void Notify(WebFlowSubject) -- subject uses this method to notify the observer of any changes.
WebFlowSubject Fields
list of WebFlowObservers to notify.
WebFlowSubject Methods
- void Register(WebFlowObserver) -- adds the WebFlowObserver to the list of registered observers.
- void Notify() -- subject subclass calls this whenever it has changed. WebFlowSubject implementation
of this method calls the WebFlowObserver.Notify method for each registered WebFlowObserver.