C# Класс SimTelemetry.Game.rFactor2.Garage.rFactor2FileList

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SearchFile ( string pattern ) : MAS2File

Searches for 1 file of a pattern.

SearchFile ( string directory, string pattern ) : MAS2File

Searches for 1 file of a pattern in a MAS archive.

SearchFiles ( string pattern ) : List

Searches for all vehicles with specific pattern. Returns all files matching. All files are locally cached.

SearchFiles ( string directory, string pattern ) : List

Searches for all vehicles with specific pattern in a MAS archive. Returns all files (in relative path to directory) in list. All files are locally cached.

rFactor2FileList ( string dir, string extensions ) : System

Описание методов

SearchFile() публичный Метод

Searches for 1 file of a pattern.
public SearchFile ( string pattern ) : MAS2File
pattern string
Результат MAS2File

SearchFile() публичный Метод

Searches for 1 file of a pattern in a MAS archive.
public SearchFile ( string directory, string pattern ) : MAS2File
directory string
pattern string
Результат MAS2File

SearchFiles() публичный Метод

Searches for all vehicles with specific pattern. Returns all files matching. All files are locally cached.
public SearchFiles ( string pattern ) : List
pattern string File pattern. *.txt returns all txt-extension files.
Результат List

SearchFiles() публичный Метод

Searches for all vehicles with specific pattern in a MAS archive. Returns all files (in relative path to directory) in list. All files are locally cached.
public 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

rFactor2FileList() публичный Метод

public rFactor2FileList ( string dir, string extensions ) : System
dir string
extensions string
Результат System