Skip to content

Trigger.SubscribeDisposable(object, Action) method

Defined in

Type: Trigger Namespace: CrissCross.WPF.UI.Configuration Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public IDisposable SubscribeDisposable(object target, Action action)

Summary: Subscribes the specified target and returns an IDisposable to unsubscribe.

Parameters

NameTypeDescription
targetobjectThe target.
actionActionThe action.

Returns: IDisposable -- An IDisposable which when disposed will unsubscribe.