Click or drag to resize
Cimbalino ToolkitWeakEventSubscription Constructor (Object, EventHandler, ActionEventHandler, ActionEventHandler)
Initializes a new instance of the WeakEventSubscription class.

Namespace: Cimbalino.Toolkit.Helpers
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public WeakEventSubscription(
	Object target,
	EventHandler eventHandler,
	Action<EventHandler> subscribeAction,
	Action<EventHandler> unsubscribeAction
)

Parameters

target
Type: SystemObject
The event handler's owner.
eventHandler
Type: SystemEventHandler
The event handler.
subscribeAction
Type: SystemActionEventHandler
The action to subscribe the event handler.
unsubscribeAction
Type: SystemActionEventHandler
The action to unsubscribe the event handler.
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also