C# 클래스 withSIX.Core.Presentation.Wpf.Extensions.ActivationHelper

파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
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

메소드 상세

GetActivationForView() 공개 정적인 메소드

public static GetActivationForView ( this fe ) : IObservable>.Tuple
fe this
리턴 IObservable>.Tuple

WhenControlActivated() 공개 정적인 메소드

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
리턴 IDisposable

WhenControlActivated() 공개 정적인 메소드

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
리턴 IDisposable

handleViewActivation() 공개 정적인 메소드

public static handleViewActivation ( Func block, Tuple activation ) : IDisposable
block Func
activation Tuple
리턴 IDisposable