Пример #1
0
 public WadFileViewModel(WadViewModel wadViewModel, WadItemViewModel parent, string path, string name, WADEntry entry)
     : base(wadViewModel, parent, WadItemType.File)
 {
     this.Path  = path;
     this.Name  = name;
     this.Entry = entry;
 }
Пример #2
0
 public WadFolderViewModel(WadViewModel wadViewModel, WadItemViewModel parent, string path) :
     base(wadViewModel, parent, WadItemType.Folder)
 {
     this.Path = path;
     this.Name = PathIO.GetFileName(path);
 }