/// <summary> /// 尝试从指定的 ViewModel 获取值 /// </summary> /// <param name="source"></param> /// <param name="continueWith">在获取值之后做的</param> public GetValueCombinationComposite(ViewModelBase source, Action <T> continueWith) : base(source) { Goal = new PredicateInheritViewModel <IViewModelValue <T> >(); ContinueWith = continueWith; }
/// <inheritdoc /> public NavigateMessage(ViewModelBase source, string key, object parameter = null) : base(source) { Parameter = parameter; Goal = new PredicateInheritViewModel(typeof(IKeyNavigato)); Key = key; }