Click or drag to resize
Cimbalino ToolkitWeakEventSubscriptionT Constructor (Object, EventHandlerT, ActionEventHandlerT, ActionEventHandlerT)

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<T> eventHandler,
	Action<EventHandler<T>> subscribeAction,
	Action<EventHandler<T>> unsubscribeAction
)

Parameters

target
Type: SystemObject
The event handler's owner.
eventHandler
Type: SystemEventHandlerT
The event handler.
subscribeAction
Type: SystemActionEventHandlerT
The action to subscribe the event handler.
unsubscribeAction
Type: SystemActionEventHandlerT
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