C# Class Runt.ViewModels.FolderViewModel

Inheritance: FileTreeViewModel
Exibir arquivo Open project: Runt-Editor/Runt Class Usage Examples

Protected Properties

Property Type Description
_dir System.IO.DirectoryInfo

Public Methods

Method Description
FolderViewModel ( FolderViewModel parent, DirectoryInfo dir ) : System
FolderViewModel ( FolderViewModel parent, string path ) : System
Get ( FolderViewModel parent, DirectoryInfo dir ) : FolderViewModel
NotifyOfPropertyChange ( string propertyName ) : void

Protected Methods

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

Method Details

FolderViewModel() public method

public FolderViewModel ( FolderViewModel parent, DirectoryInfo dir ) : System
parent FolderViewModel
dir System.IO.DirectoryInfo
return System

FolderViewModel() public method

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

Get() public static method

public static Get ( FolderViewModel parent, DirectoryInfo dir ) : FolderViewModel
parent FolderViewModel
dir System.IO.DirectoryInfo
return FolderViewModel

GetItems() protected method

protected GetItems ( ) : IEnumerable
return IEnumerable

Initialize() protected method

protected Initialize ( ) : void
return void

NotifyOfPropertyChange() public method

public NotifyOfPropertyChange ( string propertyName ) : void
propertyName string
return void

Property Details

_dir protected_oe property

protected DirectoryInfo,System.IO _dir
return System.IO.DirectoryInfo