コード例 #1
0
ファイル: WadFileViewModel.cs プロジェクト: Aren-py/Obsidian
 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);
 }