Click or drag to resize
Cimbalino ToolkitWeakEventSubscriptionT1, T2 Constructor (TypedEventHandlerT1, T2, ActionTypedEventHandlerT1, T2, ActionTypedEventHandlerT1, T2)

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(
	TypedEventHandler<T1, T2> eventHandler,
	Action<TypedEventHandler<T1, T2>> subscribeAction,
	Action<TypedEventHandler<T1, T2>> unsubscribeAction
)

Parameters

eventHandler
Type: Windows.FoundationTypedEventHandlerT1, T2
The event handler.
subscribeAction
Type: SystemActionTypedEventHandlerT1, T2
The action to subscribe the event handler.
unsubscribeAction
Type: SystemActionTypedEventHandlerT1, T2
The action to unsubscribe the event handler.
Version Information

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also