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; }
public WadFolderViewModel(WadViewModel wadViewModel, WadItemViewModel parent, string path) : base(wadViewModel, parent, WadItemType.Folder) { this.Path = path; this.Name = PathIO.GetFileName(path); }