public CombinationComposite(ViewModelBase source) { ((IMessage)this).Source = source; }
public CombinationComposite(Action <ViewModelBase, object> run, ViewModelBase source) { _run = run; ((IMessage)this).Source = source; }
public override void Run(ViewModelBase source, IMessage message) { _run.Invoke(source, message); }
public ViewModelPage(ViewModelBase viewModel) { ViewModel = viewModel; Key = viewModel.GetType().Name; _viewModel = viewModel.GetType(); }