Click or drag to resize

ViewportEndChangedWeakEventManager Class

The weak event manager for the ViewportEndChanged event. An event manager administrates different event listeners for a certain event source. The listeners can be connected to the viewport end changed event and can be disconnected again if they are no more used.
Inheritance Hierarchy

Namespace:  Ptv.XServer.Controls.Map.Layers
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class ViewportEndChangedWeakEventManager : WeakEventManager

The ViewportEndChangedWeakEventManager type exposes the following members.

Constructors
  NameDescription
Public methodViewportEndChangedWeakEventManager
Initializes a new instance of the ViewportEndChangedWeakEventManager class
Top
Methods
  NameDescription
Public methodStatic memberAddListener
Connects the listener to the event queue.
Public methodStatic memberRemoveListener
Disconnects the listener from the event queue.
Protected methodStartListening
Starts listening for the event being managed. After this method is first called, the manager should be in the state of calling DeliverEvent(Object, EventArgs) or DeliverEventToList(Object, EventArgs, WeakEventManager+ListenerList) whenever the relevant event from the provided source is handled.
(Overrides WeakEventManagerStartListening(Object).)
Protected methodStopListening
Stops listening for the event on the specified object.
(Overrides WeakEventManagerStopListening(Object).)
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also