void wbDict_IsBrowserInitializedChanged(object sender, DependencyPropertyChangedEventArgs e) { if (!(bool)e.NewValue) { return; } vm.WhenAnyValue(x => x.ResultHtml).Subscribe(_ => Load()); }
public TransformSourceControl(TransformEditViewModelWPF vm) { InitializeComponent(); DataContext = this.vm = vm; vm.WhenAnyValue(x => x.SourceUrl).Where(s => !string.IsNullOrEmpty(s)).Subscribe(_ => Load()); }