C# Class Runt.ViewModels.FileViewModel

Inheritance: FileTreeViewModel
Datei anzeigen Open project: Runt-Editor/Runt Class Usage Examples

Protected Properties

Property Type Description
_file System.IO.FileInfo
_parent FolderViewModel

Public Methods

Method Description
FileViewModel ( FolderViewModel parent, FileInfo file ) : System
FileViewModel ( FolderViewModel parent, string path ) : System

Protected Methods

Method Description
GetItems ( ) : IEnumerable
Initialize ( ) : void

Private Methods

Method Description
Get ( FolderViewModel folderViewModel, FileInfo file ) : FileViewModel

Method Details

FileViewModel() public method

public FileViewModel ( FolderViewModel parent, FileInfo file ) : System
parent FolderViewModel
file System.IO.FileInfo
return System

FileViewModel() public method

public FileViewModel ( FolderViewModel parent, string path ) : System
parent FolderViewModel
path string
return System

GetItems() protected method

protected GetItems ( ) : IEnumerable
return IEnumerable

Initialize() protected method

protected Initialize ( ) : void
return void

Property Details

_file protected_oe property

protected FileInfo,System.IO _file
return System.IO.FileInfo

_parent protected_oe property

protected FolderViewModel,Runt.ViewModels _parent
return FolderViewModel