C# Class SimTelemetry.Objects.Garage.GarageTools

Mostra file Open project: nlhans/SimTelemetry

Public Methods

Method Description
SearchFile ( string directory, string pattern ) : string

Searches for 1 file of a pattern in a directory.

SearchFiles ( string directory, string pattern ) : List

Searches for all vehicles with specific pattern in a directory. Returns all files (in relative path to directory) in list.

Method Details

SearchFile() public static method

Searches for 1 file of a pattern in a directory.
public static SearchFile ( string directory, string pattern ) : string
directory string
pattern string
return string

SearchFiles() public static method

Searches for all vehicles with specific pattern in a directory. Returns all files (in relative path to directory) in list.
public static SearchFiles ( string directory, string pattern ) : List
directory string Absolute path to directory to search.
pattern string File pattern. *.txt returns all txt-extension files.
return List