public WindowController ( IObservable |
||
controls | IObservable |
Observable that provides controls to host in this window |
shouldLoad | bool>.Func | If set, this condition will be checked before loading each control |
shouldStop | bool>.Func | If set, this condition will be checked to determine when to close this window |
return | System |
public WindowController(IObservable<LoadData> controls,
Func<IView, bool> shouldLoad = null,
Func<IView, bool> shouldStop = null)
{
this.controls = controls;
this.shouldLoad = shouldLoad;
this.shouldStop = shouldStop;
InitializeComponent();
Initialize();
}