C# Class ReactiveUI.ViewForMixins

Datei anzeigen Open project: reactiveui/ReactiveUI

Public Methods

Method Description
WhenActivated ( this This, Action block, IViewFor view = null ) : IDisposable

WhenActivated allows you to register a Func to be called when a View is Activated.

WhenActivated ( this This, Action block ) : IDisposable

WhenActivated allows you to register a Func to be called when a View is Activated.

WhenActivated ( this This, Action block, IViewFor view ) : IDisposable

WhenActivated allows you to register a Func to be called when a View is Activated.

WhenActivated ( this This, Func block ) : IDisposable

WhenActivated allows you to register a Func to be called when a View is Activated.

WhenActivated ( this This, Func block, IViewFor view ) : IDisposable

WhenActivated allows you to register a Func to be called when a View is Activated.

WhenActivated ( this This, Action block ) : void

WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.

WhenActivated ( this This, Action block ) : void

WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.

WhenActivated ( this This, Func block ) : void

WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.

Private Methods

Method Description
ViewForMixins ( ) : System
handleViewActivation ( Func block, IObservable activation ) : IDisposable
handleViewModelActivation ( IViewFor view, IObservable activation ) : IDisposable

Method Details

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a View is Activated.
public static WhenActivated ( this This, Action block, IViewFor view = null ) : IDisposable
This this Object that supports activation.
block Action The method to be called when the corresponding /// View is activated. The Action parameter (usually called 'disposables') allows /// you to collate all disposables that should be cleaned up during deactivation.
view IViewFor
return IDisposable

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a View is Activated.
public static WhenActivated ( this This, Action block ) : IDisposable
This this Object that supports activation.
block Action The method to be called when the corresponding /// View is activated. The Action parameter (usually called 'd') allows /// you to register Disposables to be cleaned up when the View is /// deactivated (i.e. "d(someObservable.Subscribe());")
return IDisposable

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a View is Activated.
public static WhenActivated ( this This, Action block, IViewFor view ) : IDisposable
This this Object that supports activation.
block Action The method to be called when the corresponding /// View is activated. The Action parameter (usually called 'd') allows /// you to register Disposables to be cleaned up when the View is /// deactivated (i.e. "d(someObservable.Subscribe());")
view IViewFor
return IDisposable

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a View is Activated.
public static WhenActivated ( this This, Func block ) : IDisposable
This this Object that supports activation.
block Func The method to be called when the corresponding /// View is activated. It returns a list of Disposables that will be /// cleaned up when the View is deactivated.
return IDisposable

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a View is Activated.
public static WhenActivated ( this This, Func block, IViewFor view ) : IDisposable
This this Object that supports activation.
block Func The method to be called when the corresponding /// View is activated. It returns a list of Disposables that will be /// cleaned up when the View is deactivated.
view IViewFor
return IDisposable

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.
public static WhenActivated ( this This, Action block ) : void
This this Object that supports activation.
block Action The method to be called when the corresponding /// View is activated. The Action parameter (usually called 'disposables') allows /// you to collate all the disposables to be cleaned up during deactivation.
return void

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.
public static WhenActivated ( this This, Action block ) : void
This this Object that supports activation.
block Action The method to be called when the corresponding /// View is activated. The Action parameter (usually called 'd') allows /// you to register Disposables to be cleaned up when the View is /// deactivated (i.e. "d(someObservable.Subscribe());")
return void

WhenActivated() public static method

WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.
public static WhenActivated ( this This, Func block ) : void
This this Object that supports activation.
block Func The method to be called when the corresponding /// View is activated. It returns a list of Disposables that will be /// cleaned up when the View is deactivated.
return void