示例#1
0
 internal SourceItemViewModel(string name, SourceItemType type, Action <SourceItemViewModel> gotoAction)
 {
     Name        = name;
     Type        = type;
     GoToCommand = ReactiveCommand.Create().WithSubscription(x => gotoAction(this));
 }
示例#2
0
 internal SourceItemViewModel(string name, SourceItemType type, Action<SourceItemViewModel> gotoAction)
 {
     Name = name;
     Type = type;
     GoToCommand = ReactiveCommand.Create().WithSubscription(x => gotoAction(this));
 }