C# 클래스 SimTelemetry.Objects.Garage.GarageTools

파일 보기 프로젝트 열기: nlhans/SimTelemetry

공개 메소드들

메소드 설명
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.

메소드 상세

SearchFile() 공개 정적인 메소드

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

SearchFiles() 공개 정적인 메소드

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.
리턴 List