C# Class Yava.FoldersFile.Folder

Show file Open project: Beluki/Yava Class Usage Examples

Public Properties

Property Type Description
Executable String
Extensions HashSet
Name String
Parameters String
Path String
WorkingDirectory String

Public Methods

Method Description
EnumerateFiles ( ) : IEnumerable

Search this folder path and return the matching files.

Folder ( String name, String path, String executable, HashSet extensions, String parameters, String workingdirectory ) : System

A folder specification. FoldersFileReader generates them when reading the folders ini file.

Method Details

EnumerateFiles() public method

Search this folder path and return the matching files.
public EnumerateFiles ( ) : IEnumerable
return IEnumerable

Folder() public method

A folder specification. FoldersFileReader generates them when reading the folders ini file.
public Folder ( String name, String path, String executable, HashSet extensions, String parameters, String workingdirectory ) : System
name String Folder name.
path String Folder path in the filesystem.
executable String Application to start.
extensions HashSet Extensions to include when searching for files.
parameters String Command-line arguments to use when launching the application.
workingdirectory String Initial directory for the application to be started.
return System

Property Details

Executable public property

Application to start.
public String Executable
return String

Extensions public property

Extensions to include when searching for files. Can be null when unspecified in the ini file.
public HashSet Extensions
return HashSet

Name public property

Folder name (section in the ini).
public String Name
return String

Parameters public property

Command-line arguments to use when launching the application. Can be null when unspecified in the ini file.
public String Parameters
return String

Path public property

Folder path in the filesystem.
public String Path
return String

WorkingDirectory public property

Initial directory for the application to be started. Can be null when unspecified in the ini file.
public String WorkingDirectory
return String