C# Class withSIX.Core.Presentation.Wpf.Extensions.ActivationHelper

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
GetActivationForView ( this fe ) : IObservable>.Tuple
WhenControlActivated ( this This, Action block ) : IDisposable

Use this on any aribrary framework element to register to Loaded and Unloaded to activate and deactivate observables The returned disposable should only be disposed if you want to manually deregister this operation

WhenControlActivated ( this This, Func block ) : IDisposable

Use this on any aribrary framework element to register to Loaded and Unloaded to activate and deactivate observables The returned disposable should only be disposed if you want to manually deregister this operation

handleViewActivation ( Func block, Tuple activation ) : IDisposable

Method Details

GetActivationForView() public static méthode

public static GetActivationForView ( this fe ) : IObservable>.Tuple
fe this
Résultat IObservable>.Tuple

WhenControlActivated() public static méthode

Use this on any aribrary framework element to register to Loaded and Unloaded to activate and deactivate observables The returned disposable should only be disposed if you want to manually deregister this operation
public static WhenControlActivated ( this This, Action block ) : IDisposable
This this
block Action
Résultat IDisposable

WhenControlActivated() public static méthode

Use this on any aribrary framework element to register to Loaded and Unloaded to activate and deactivate observables The returned disposable should only be disposed if you want to manually deregister this operation
public static WhenControlActivated ( this This, Func block ) : IDisposable
This this
block Func
Résultat IDisposable

handleViewActivation() public static méthode

public static handleViewActivation ( Func block, Tuple activation ) : IDisposable
block Func
activation Tuple
Résultat IDisposable