コード例 #1
0
 public CombinationComposite(ViewModelBase source)
 {
     ((IMessage)this).Source = source;
 }
コード例 #2
0
 public CombinationComposite(Action <ViewModelBase, object> run, ViewModelBase source)
 {
     _run = run;
     ((IMessage)this).Source = source;
 }
コード例 #3
0
 public override void Run(ViewModelBase source, IMessage message)
 {
     _run.Invoke(source, message);
 }
コード例 #4
0
 public ViewModelPage(ViewModelBase viewModel)
 {
     ViewModel  = viewModel;
     Key        = viewModel.GetType().Name;
     _viewModel = viewModel.GetType();
 }