Exemplo n.º 1
0
 public ProjectViewModel(string path, TreeViewItemViewModel parent)
     : base(parent)
 {
     _path = path;
     _name = _path.Split(new[] { '\\' })[5].Replace("_cd", "");
 }
Exemplo n.º 2
0
 public BookTreeViewItemViewModel(TreeViewItemViewModel parent)
     : base(parent)
 {
     _events = IoC.Get <IEventAggregator>();
 }