示例#1
0
 public RelatedLinkVM(EditorVM parent)
 {
     _evm              = parent;
     NewLinkCommand    = new RelayCommand(NewLink);
     RemoveLinkCommand = new RelayCommand(RemoveLink);
     UpLinkCommand     = new RelayCommand(UpLink);
     DownLinkCommad    = new RelayCommand(DownLink);
 }
示例#2
0
 public ExampleVM(EditorVM parent)
 {
     _evm                 = parent;
     Examples             = new ObservableCollection <Example>();
     NewExampleCommand    = new RelayCommand(NewExample);
     RemoveExampleCommand = new RelayCommand(RemoveExample);
     UpExampleCommand     = new RelayCommand(UpExample);
     DownExampleCommad    = new RelayCommand(DownExample);
 }