public PopupModel(PopupContext context) { Contexts = new[] { context }; Context = context; this.WhenActivated(disposables => { this.BindPopup() .DisposeWith(disposables); }); }
public void Show(PopupContext context) { Trigger.OnNext(context); }